/* CSS Variables for ProfileHeader component */
:root {
  /* Colors */
  --profile-gradient-green: linear-gradient(135deg, #9AD746, #7FB935);
  --profile-gradient-dark: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  --profile-verified-color: #22c55e;
  --profile-text-muted: rgba(255, 255, 255, 0.5);

  /* Spacing */
  --profile-header-height: 280px;
  --profile-image-size-mobile: 80px;
  --profile-image-size-desktop: 100px;

  /* Border Radius */
  --profile-radius-small: 8px;
  --profile-radius-medium: 10px;
  --profile-radius-large: 12px;

  /* Z-Index */
  --profile-z-overlay: 10;
  --profile-z-content: 1;
}

/* Profile Header Unified Styles */
.profile-header-unified {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Share buttons */
.profile-header-unified .desktop-icon-list button,
.profile-header-unified .btn-group button {
  padding: 8px 16px;
  margin-left: 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-header-unified .sharelink {
  background-color: #007bff;
  border-color: #007bff;
}

.profile-header-unified .grcode {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Main content columns */
.profile-header-unified .profile-left-col {
  padding-right: 15px;
}

.profile-header-unified .profile-right-col {
  padding-left: 0;
}


/* Profile info */
.profile-name {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  display: flex;
  align-items: center;
}

.gym-icon {
  color: #666;
  font-size: 24px;
}

.profile-bio {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}

.profile-location {
  font-size: 14px;
  color: #666;
}


/* Mobile Profile Layout */
.mobile-profile-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Mobile Tab Buttons Container */
.mobile-tab-section {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  padding: 2rem 0;
}

.mobile-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  padding: 0 1rem;
}

/* Mobile Tab Button */
.mobile-tab-btn {
  padding: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  aspect-ratio: 1.2;
  transition: all 0.3s ease;
}

.mobile-tab-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.mobile-tab-btn svg {
  font-size: 24px;
  color: white;
}

.mobile-tab-btn span {
  font-size: 13px;
  font-weight: 600;
}

/* Navigation Button Styles - Centralized */
.profile-nav-button {
  padding: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  transition: 0.3s;
  width: 100%;
}

.profile-nav-button:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

/* Badge Counter - Centralized */
.profile-badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f5484d;
  color: #fff;
  border-radius: 10px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: bold;
  min-width: 14px;
  text-align: center;
}

/* Navigation Grid */
.profile-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  padding: 0 0.5rem;
}

.profile-nav-wrapper {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  padding: 2rem 0;
}

/* Icon container for badges */
.profile-nav-icon-wrapper {
  position: relative;
  display: inline-block;
}

/* Button text */
.profile-nav-label {
  font-size: 13px;
  font-weight: 600;
}

/* Full width button for odd layouts */
.profile-nav-button.full-width {
  grid-column: span 2;
}

/* Profile type specific styles */
.profile-header-unified.user .gym-only {
  display: none;
}

.profile-header-unified.gym .user-only {
  display: none;
}

/* Gym-specific styles */
.profile-header-unified.gym .gallery-button {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.profile-header-unified.gym .map-section {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
}

.profile-header-unified.gym .additional-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.profile-header-unified.gym .info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* Mobile adjustments - CONSOLIDATED */
@media (max-width: 768px) {
  /* Nuclear box-shadow removal */
  .carousel-panel,
  .carousel-panel *,
  .profile-main-section,
  .profile-main-section *,
  .profile-panel-content-container,
  .profile-panel-content-container *,
  .panel-container-mobile *,
  .user-profile-panels *,
  .page-layout-container * {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    filter: none !important;
  }

  /* Profile responsive adjustments */
  .profile-header-unified .profile-left-col,
  .profile-header-unified .profile-right-col {
    padding-left: 15px;
    padding-right: 15px;
  }

  .profile-name {
    font-size: 22px;
  }
}