/* =============================================
   BASE
   ============================================= */
body {
  font-family: var(--font-primary);
  background: var(--color-bg-page);
  color: var(--color-text);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================================
        Auth Container
    ========================================================= */
.auth-wrapper {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ---- Brand header ---- */
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.auth-brand__title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 1.2;
}

.auth-brand__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ---- Card ---- */
.auth-card {
  width: 100%;
  background: var(--color-bg-card);
  border-radius: 15px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 28px 28px 32px;
}

/* ---- Back link ---- */
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-black);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color .2s;
}

.auth-back:hover {
  color: var(--color-text);
}

.auth-back svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---- Form fields ---- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
}

.form-field__input {
  width: 100%;
  padding: 16px 14px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-field__input::placeholder {
  color: var(--color-text-muted);
}

.form-field__input:focus {
  border-color: var(--color-input-focus);
  box-shadow: var(--shadow-input-focus);
}

/* ---- Forgot password ---- */
.form-field__row {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
}

.auth-forgot {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-link-signup);
  text-decoration: none;
}

.auth-forgot:hover {
  opacity: .75;
}

/* ---- Submit button ---- */
.auth-btn {
  width: 100%;
  padding: 13px;
  background: var(--color-btn-primary);
  color: var(--color-text-white);
  border: none;
  border-radius: 15px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-btn:hover {
  background: var(--color-btn-hover);
}

.auth-btn:active {
  transform: scale(.98);
}

/* ---- Footer link ---- */
.auth-footer {
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-align: center;
}

.auth-footer a {
  color: var(--color-link-signup);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}

.auth-footer a:hover {
  opacity: .75;
}

/* =========================================================
        Responsive
    ========================================================= */
@media (max-width: 480px) {
  .auth-card {
    padding: 22px 18px 26px;
  }

  .auth-brand__title {
    font-size: 20px;
  }
}







/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  border-top: 5px solid var(--text-black);

  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  padding: var(--space-xl) var(--space-xl) var(--space-xl);
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  margin-bottom: var(--space-lg);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.2;
  margin: 0;
}

.page-header__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* =============================================
   STATS GRID
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--space-lg);
}

.stats-grid-athlete {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: var(--space-lg);
}

@media (max-width: 1200px) {
  .stats-grid-athlete {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .stats-grid-athlete {
    grid-template-columns: repeat(1, 1fr);
  }
}

.stat-card {
  background: var(--color-bg-card);
  border-radius: 15px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card__icon--blue {
  background: var(--color-bg-icon-blue);
}

.stat-card__icon--teal {
  background: #e8f9f8;
}

.stat-card__icon--green {
  background: var(--color-bg-icon-green);
}

.stat-card__icon svg {
  width: 22px;
  height: 22px;
}

.stat-card__label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-top: 2px;
}

/* =============================================
   DASHBOARD GRID (2 cols)
   ============================================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* =============================================
   CARD BASE
   ============================================= */
.card {
  background: var(--color-bg-card);
  border-radius: 15px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-secondary);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__title-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.15s;
}

.card__link:hover {
  opacity: 0.75;
  color: var(--color-text-white);

}

/* =============================================
   TRAINING LIST
   ============================================= */

.training-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

.training-item:last-child {
  border-bottom: none;
}

.training-item:hover {
  background: #fafbfc;
}

.training-item__date {
  width: 46px;
  min-width: 46px;
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 6px 4px;
  flex-shrink: 0;
}

.training-item__date-month {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.training-item__date-day {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.training-item__info {
  flex: 1;
  min-width: 0;
}

.training-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.training-item__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.training-item__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-text-muted);
  display: inline-block;
}

.training-item__badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--color-bg);
  color: var(--text-black);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* =============================================
   RIGHT COLUMN
   ============================================= */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =============================================
   NETWORK CARD
   ============================================= */

.network-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

.network-item:last-child {
  border-bottom: none;
}

.network-item:hover {
  background: #fafbfc;
}

.network-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e7ec;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.network-item__avatar svg {
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.network-item__info {
  flex: 1;
  min-width: 0;
}

.network-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.network-item__role {
  font-size: 12px;
  color: var(--color-text-muted);
}

.network-item__action {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

/* .network-item__action:hover {
  background: var(--color-primary-light);
} */

.network-view-all {
  display: block;
  text-align: center;
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

/* .network-view-all:hover {
  background: var(--color-primary-light);
} */

/* =============================================
   SUBSCRIPTION CARD
   ============================================= */
.subscription-card {
  background: var(--color-sub-bg);
  border-radius: 15px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.subscription-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.subscription-card__label {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
}

.subscription-card__badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(75, 156, 211, 0.2);
  color: rgba(75, 156, 211, 1);
  padding: 3px 10px;
  border-radius: 20px;
}

.subscription-card__plan {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.subscription-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.5;
}

.subscription-card__btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 13px;
  font-size: 14px;
  font-weight: 500;
}

.subscription-card__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 991.98px) {
  .sidebar-section {
    transform: translateX(-100%);
  }

  .sidebar-section.open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
  }

  .sidebar-overlay {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding: var(--space-xl) var(--space-md) var(--space-md);
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .right-col {
    order: -1;
  }

  .page-header__title {
    font-size: 22px;
  }

  .stat-card__value {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 60px var(--space-sm) var(--space-sm);
  }

  .stats-grid {
    gap: var(--space-xs);
  }

  .stat-card {
    padding: 16px;
  }

  .subscription-card__plan {
    font-size: 20px;
  }
}

/* ══════════════════════════════
   Discover.html
══════════════════════════════ */
/* ══════════════════════════════
       Page Header
    ══════════════════════════════ */
.discover-header {
  margin-bottom: 22px;
}

.discover-header__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.2;
}

.discover-header__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ══════════════════════════════
       Search Bar
    ══════════════════════════════ */
.discover-search {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 15px 25px;
}

.discover-search__left {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-bg-page);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.discover-search__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.discover-search__input {
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  width: 100%;
}

.discover-search__input::placeholder {
  color: var(--color-text-muted);
}

.discover-search__filter {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.discover-search__filter:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.discover-search__filter svg {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════
       Grid
    ══════════════════════════════ */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .discover-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════
       Athlete Card
    ══════════════════════════════ */
.athlete-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}

.athlete-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

/* Avatar */
.athlete-card__avatar-wrap {
  position: relative;
  margin-bottom: 12px;
  padding: 0 16px;
}

.athlete-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  background: #c9d4e0;
  display: block;
}

.athlete-card__verified {
  position: absolute;
  bottom: 2px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.athlete-card__verified svg {
  width: 10px;
  height: 10px;
}

/* Name / role */
.athlete-card__name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.3;
  margin: 0;
  padding: 0 16px;
}

.athlete-card__role {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 15px;
  padding: 0 16px;
}

/* Location */
.athlete-card__location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 14px;
  padding: 0 16px;
}

.athlete-card__location svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

/* Affiliation badge */
.athlete-card__affiliation {
  width: calc(100% - 32px);
  border: 1px solid var(--color-border);
  background: var(--color-bg-page);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  margin-left: 16px;
  margin-right: 16px;
}

.athlete-card__affiliation-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
}

.athlete-card__affiliation-name svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.athlete-card__affiliation-title {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Bio */
.athlete-card__bio {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  padding: 0 16px 20px;
  flex: 1;
}

.athlete-card__btn-wrapper {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-page);
  padding: 20px 16px;
  width: 100%;
  margin-top: auto;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Connect button */
.athlete-card__btn {
  width: 100%;
  padding: 13px;
  background: var(--color-btn-primary);
  color: var(--color-text-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: auto;
}

.athlete-card__btn:hover {
  background: var(--color-btn-hover);
}

.athlete-card__btn:active {
  transform: scale(.98);
}

/* Connected state */
.athlete-card__btn.connected {
  background: var(--color-primary);
}

.athlete-card__btn.connected:hover {
  background: #0960a8;
}

/* ══════════════════════════════
       Empty / Loading states
    ══════════════════════════════ */
.discover-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.discover-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════
   DISCOVER DETAIL PAGE
══════════════════════════════════════════ */

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}



.profile-detail-layout {
  grid-template-columns: 1fr 200px;
}

@media (max-width: 860px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .profile-detail-layout {
    grid-template-columns: 1fr;
  }
}



/* --- Profile Hero Card --- */
.profile-hero {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 0;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.profile-hero__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  background: #c9d4e0;
}

.profile-hero__body {
  flex: 1;
}

.profile-hero__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.2;
}

.profile-hero__org {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

.profile-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.profile-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.profile-hero__meta-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.profile-hero__rating-star {
  color: #f59e0b;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  color: var(--color-text);
}

/* --- Tab Nav --- */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  /* padding: 0 24px; */
  background: var(--color-bg);
}

.tab-nav__item {
  padding: 14px 4px;
  margin-right: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-primary);
}

.tab-nav__item:hover {
  color: var(--color-text);
}

.tab-nav__item.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-panel {
  display: none;
  padding: 28px 0;
  background: var(--color-bg);
}

.tab-panel.active {
  display: block;
}

.tab-panel__title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 14px;
}

.tab-panel__body {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 26px;
}

/* --- Booking Card --- */


.booking-card {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-bg-card);
}

.booking-card__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 5px;
}

.booking-card__price-label {
  font-size: 15px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.booking-card__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 18px;
  opacity: 1;
}

.booking-card__info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding: 0;
}

.booking-card__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text);
}

.booking-card__info-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.booking-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-card__note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  background: var(--color-bg);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-bg);
  color: var(--color-secondary);
}

.reviews-empty {
  color: var(--color-text-muted);
  font-size: 14px;
}

@media (max-width: 580px) {
  .profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-hero__meta {
    justify-content: center;
  }

  .tag-list {
    justify-content: center;
  }
}

/* --- Reviews Tab --- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.reviews-summary__score {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1;
}

.reviews-summary__right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews-summary__stars {
  display: flex;
  gap: 3px;
}

.reviews-summary__stars svg {
  width: 20px;
  height: 20px;
  fill: #f59e0b;
  color: #f59e0b;
}

.reviews-summary__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--color-bg-card);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-card__author {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-black);
}

.review-card__date {
  font-size: 12px;
  color: var(--color-text-muted);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  color: #f59e0b;
}

.review-card__body {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Media Tab --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.media-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d1d5db;
  cursor: pointer;
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* .media-item:hover img {
  transform: scale(1.04);
} */

.media-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s;
}

.media-item:hover .media-item__play {
  background: rgba(0, 0, 0, 0.3);
}

.media-item__play-icon {
  width: 44px;
  height: 44px;
  border: 2.5px solid #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
}

.media-item__play-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  color: #fff;
  margin-left: 3px;
}

/* ══════════════════════════════════════════
   BOOK SESSION PAGE
══════════════════════════════════════════ */

#bookingForm .form-field {
  gap: 8px;
  margin-bottom: 22px;
}

#bookingForm .form-field:last-of-type {
  margin-bottom: 0;
}

#bookingForm .form-field__label {
  font-weight: 600;
  color: var(--color-text);
}

/* --- Select Wrap --- */
.form-field__select-wrap {
  position: relative;
}

.form-field__select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-muted);
  pointer-events: none;
}

.form-field__select {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
  border: 1.5px solid var(--color-border);

}

.form-field__select.has-value {
  color: var(--color-text);
}

/* --- Date Pills --- */
.date-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.date-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  min-width: 72px;
  user-select: none;
}

.date-pill:hover {
  border-color: var(--color-primary);
  background: var(--color-input-border);
}

.date-pill.selected {
  border-color: var(--color-primary);
  background: var(--color-input-border);
}

.date-pill__day-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: capitalize;
}

.date-pill__day-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: 2px 0;
}

.date-pill__month {
  font-size: 12px;
  color: var(--color-text-muted);
}

.date-pill.selected .date-pill__day-name,
.date-pill.selected .date-pill__month {
  color: var(--color-primary);
}

.date-pill.selected .date-pill__day-num {
  color: var(--color-primary);
}

/* --- Time Pills --- */
.time-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-pill {
  padding: 11px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  user-select: none;
  white-space: nowrap;
}

.time-pill:hover {
  border-color: var(--color-primary);
  background: var(--color-input-border);
}

.time-pill.selected {
  border-color: var(--color-primary);
  background: var(--color-input-border);
  color: var(--color-primary);
}

.time-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
}

.btn-primary.booking {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* --- Section Card --- */
.section-card {
  background: var(--color-bg-card);
  border-radius: 14px;
  overflow: hidden;
  /* max-width: 740px; */
}

.discover_detail-card {
  background: transparent;
  border: none !important;
}

.session-detail {
  max-width: 900px !important;
  width: 100% !important;
  /* margin: 0 auto; */
}

.section-card__header {
  padding: 20px 26px;
  border-bottom: 1px solid var(--color-border);
}

.section-card__title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-black);
}

.section-card__body {
  padding: 28px 26px;
}

@media (max-width: 480px) {
  .section-card__body {
    padding: 20px 16px;
  }

  .date-pill {
    min-width: 62px;
    padding: 10px 14px;
  }

  .time-pill {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ══════════════════════════════════════════
   CONNECTIONS
══════════════════════════════════════════ */
/* ── Connection count badge inside tab label ── */
.tab-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--color-primary);
  color: var(--color-text-white);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  line-height: 1;
}

/* ── Connection card — extends .network-item style ── */
.connection-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 25px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.15s;
}

.connection-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Avatar reuses .network-item__avatar size but slightly larger */
.connection-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #c9d4e0;
  flex-shrink: 0;
  display: block;
  position: relative;
}

.connection-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

/* Green verified badge — reuses same pattern as .athlete-card__verified */
.connection-card__verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #16a34a;
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-card__verified svg {
  width: 9px;
  height: 9px;
}

/* Info block — mirrors .network-item__info */
.connection-card__info {
  flex: 1;
  min-width: 0;
}

.connection-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.connection-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Message icon button — reuses .network-item__action sizing */
.connection-card__msg {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.connection-card__msg:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-icon-blue);
}

.connection-card__msg svg {
  width: 17px;
  height: 17px;
}

/* ── 2-column grid for connection cards ── */
.connections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .connections-grid {
    grid-template-columns: 1fr;
  }
}

.pending-badge .connections-grid {
  grid-template-columns: repeat(1, 1fr);
}

/* ── Tab panels ── */
.connections-tab-panel {
  display: none;
  padding-top: 20px;
}

.connections-tab-panel.active {
  display: block;
}

/* ── Pending request card variant ── */
.connection-card__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-accept {
  padding: 13px 24px;
  background: var(--color-secondary);
  color: var(--color-text-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-accept:hover {
  background: #0960a8;
}

.btn-decline {
  padding: 7px 14px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.btn-decline:hover {
  border-color: var(--color-link);
  color: var(--color-link);
}


/* ══════════════════════════════════════════
   MESSAGES PAGE
══════════════════════════════════════════ */

/* ── Chat shell ── */
.chat-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 80vh;
}

/* ════════════════════════════════
       LEFT: Conversation sidebar
    ════════════════════════════════ */
.chat-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  overflow: hidden;
}

.chat-sidebar__header {
  padding: 20px;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.chat-sidebar__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
  margin: 0;
}

.chat-sidebar__list {
  flex: 1;
  overflow-y: auto;
  background-color: var(--color-bg-page);
}

.chat-sidebar__list::-webkit-scrollbar {
  width: 4px;
}

.chat-sidebar__list::-webkit-scrollbar-track {
  background: transparent;
}

.chat-sidebar__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Conversation item */
.conv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}

.conv-item:hover {
  background: rgba(240, 248, 255, 0.5);
}

.conv-item.active {
  background: #f0f8ff;
}

/* Unread state (subtle + professional) */
.conv-item.unread {
  background: rgba(59, 130, 246, 0.08);
  /* blue tint */
}

.conv-item.unread:hover {
  background: rgba(59, 130, 246, 0.12);
}

.conv-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.9);
}

/* Unread count pill */
.conv-item__badge {
  position: absolute;
  right: 14px;
  bottom: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.22);
}

.conv-item.active .conv-item__badge {
  background: rgba(2, 132, 199, 1);
}

/* ══════════════════════════════════════════
   REVIEW MODAL (Schedule)
══════════════════════════════════════════ */
.review-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-star {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.review-star:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.45);
}

.review-star.is-active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.55);
  color: rgba(59, 130, 246, 1);
}

/* Booking action buttons (Schedule) */
.booking-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.booking-actions__btn {
  font-weight: 600;
  /* unify weight across buttons/links */
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  /* align btn + link height */
}

/* Avatar reuses connection-card pattern */
.conv-item__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.conv-item__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #c9d4e0;
  display: block;
}

.conv-item__verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: #16a34a;
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.conv-item__verified svg {
  width: 8px;
  height: 8px;
}

.conv-item__body {
  flex: 1;
  min-width: 0;
}

.conv-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.conv-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-item__time {
  font-size: 12px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.conv-item__preview {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* ════════════════════════════════
       RIGHT: Chat window
    ════════════════════════════════ */
.chat-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.chat-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-bg-card);
}

.chat-window__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-window__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.chat-window__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #c9d4e0;
  display: block;
}

.chat-window__verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: #16a34a;
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-window__verified svg {
  width: 7px;
  height: 7px;
}

.chat-window__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-black);
  margin: 0;
}

.chat-window__status {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 1px;
  margin: 0;
}

/* Schedule Session reuses .btn-outline */
.btn-schedule-session {
  color: var(--text-black);
  border: 1px solid var(--color-secondary);
}

@media (max-width: 768px) {
  .chat-window__header {
    background-color: var(--color-secondary);
  }

  .chat-window__name {
    color: var(--color-text-white);
  }

  .chat-window__status {
    color: var(--color-text-muted);
  }

  .btn-outline.btn-schedule-session {
    border: 1px solid var(--color-text-white);
    color: var(--color-text-white);
  }
}

@media (max-width: 525px) {

  /* Header inside chat */
  .chat-window__header {
    flex-wrap: wrap;
  }

  .btn-schedule-session {
    margin-left: auto;
  }
}

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-bg-page);
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Bubble base */
.msg-bubble {
  max-width: 58%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.msg-bubble__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.msg-bubble--sent .msg-bubble__time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 4px;
}

.msg-bubble--received .msg-bubble__time {
  font-size: 11px;
  color: var(--color-text-muted);
  padding: 0 4px;
}

.msg-bubble--sent {
  padding: 15px 20px;
  align-self: flex-end;
  align-items: flex-end;
  background: var(--color-primary);
  border-radius: 16px;
  border-top-left-radius: 4px;
}

.msg-bubble--sent .msg-bubble__text {
  color: var(--color-text-white);
  margin: 0;
}

.msg-bubble--received {
  align-self: flex-start;
  align-items: flex-start;
  background: var(--color-bg-card);
  padding: 15px 20px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}


/* Input bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-card);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.chat-input::placeholder {
  color: var(--color-text-muted);
}

.chat-input:focus {
  border-color: var(--color-input-focus);
  /* box-shadow: var(--shadow-input-focus); */
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.1s;
}

.chat-send-btn:hover {
  background: #0960a8;
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
}

/* Empty state */
.chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Back button for mobile */
.chat-window__back {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  margin-right: 8px;
  cursor: pointer;
  color: var(--color-text);
  align-items: center;
  justify-content: center;
}

.chat-window__back svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .chat-shell {
    grid-template-columns: 1fr;
    height: 80vh;
    min-height: 500px;
    position: relative;
  }

  .chat-sidebar {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
    z-index: 1;
  }

  .chat-window {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    background: var(--color-bg-card);
  }

  .chat-shell.show-chat .chat-sidebar {
    transform: translateX(-30%);
  }

  .chat-shell.show-chat .chat-window {
    transform: translateX(0);
  }

  .msg-bubble {
    max-width: 80%;
  }

  .chat-window__back {
    display: flex !important;
    background: var(--color-text-white);
    border-radius: 10px;
  }
}


/* ══════════════════════════════════════
       SCHEDULE LAYOUT  
    ══════════════════════════════════════ */
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: stretch;
  height: calc(100vh - 220px);
  min-height: 650px;
  max-height: 850px;
}

@media (max-width: 900px) {
  .schedule-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
}

/* ══════════════════════════════════════
       CALENDAR CARD  (extends .card)
    ══════════════════════════════════════ */
.cal-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Header row ── */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-header__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-black);
}

.cal-nav {
  display: flex;
  gap: 6px;
}

.cal-nav__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.cal-nav__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-icon-blue);
}

.cal-nav__btn svg {
  width: 16px;
  height: 16px;
}

/* ── Grid ── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto repeat(6, 1fr);
  gap: 4px;
  flex: 1;
  min-height: 0;
}

/* Day-of-week headers */
.cal-dow {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding-bottom: 10px;
  user-select: none;
}

/* Individual day cell */
.cal-day {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  user-select: none;
}

.cal-day:hover:not(.cal-day--empty):not(.cal-day--today):not(.cal-day--selected) {
  background: var(--color-bg);
}

.cal-day--empty {
  cursor: default;
  color: transparent;
}

.cal-day--other-month {
  color: var(--color-border);
  cursor: default;
}

.cal-day--today {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.cal-day--selected {
  background: var(--color-primary);
  color: var(--color-text-white);
  font-weight: 700;
}

.cal-day--selected .cal-day__dot {
  background: var(--color-text-white);
}

/* Event dot */
.cal-day__dot {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ══════════════════════════════════════
       SESSION PANEL  (right column)
    ══════════════════════════════════════ */
.session-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Dark header — reuses .subscription-card bg concept */
.session-panel__header {
  background: var(--color-bg-dark);
  padding: 20px 22px;
}

.session-panel__date {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
  margin: 0;
}

/* Session list */
.session-list {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.session-list::-webkit-scrollbar {
  width: 4px;
}

.session-list::-webkit-scrollbar-track {
  background: transparent;
}

.session-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Session item */
.session-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

.session-item:last-child {
  border-bottom: none;
}

.session-item:hover {
  background: var(--color-bg);
}

/* Time row */
.session-item__time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.session-item__time {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-black);
}

/* Duration badge — reuses .training-item__badge concept */
.session-item__badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--color-bg-icon-blue);
  color: var(--color-primary);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.session-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 4px;
}

/* Location row — reuses profile-hero__meta-item pattern */
.session-item__location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* Coach row */
.session-item__coach {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session-item__coach-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Avatar reuses .network-item__avatar sizing */
.session-item__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #c9d4e0;
  display: block;
}

.session-item__coach-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

.session-item__details-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-primary);
  transition: opacity 0.2s;
  text-decoration: none;
}

.session-item__details-link:hover {
  opacity: 0.7;
}

/* Load more */
.session-load-more {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  border-top: 1px solid var(--color-border-light);
  cursor: pointer;
  font-family: var(--font-primary);
  transition: background 0.15s;
}

.session-load-more:hover {
  background: var(--color-bg-icon-blue);
}

/* Empty state */
.session-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .cal-card {
    padding: 18px 14px;
  }

  .cal-header__title {
    font-size: 16px;
  }

  .cal-dow {
    font-size: 11px;
  }

  .cal-day {
    font-size: 12px;
    border-radius: 8px;
  }
}


/* ══════════════════════════════════════
       SUBSCRIPTION PAGE LAYOUT  
    ══════════════════════════════════════ */


/* ── Pricing grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Plan card — extends .card ── */
.plan-card__wrapper {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
}

.plan-card__wrapper:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.plan-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px;
  background: transparent;
  transition: background 0.2s;
}

.button-wrapper {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-page);
  padding: 24px;
  transition: background 0.2s, border-color 0.2s;
}

/* Active / selected state */
.plan-card__wrapper:has(.plan-card--active) {
  background: transparent;
}

.plan-card__wrapper:has(.plan-card--active) .button-wrapper {
  background: var(--color-bg-page);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.plan-card--active {
  background: var(--color-btn-primary);
}

.plan-card--active .plan-card__name,
.plan-card--active .plan-card__desc {
  color: var(--color-text-white);
}

.plan-card--active .plan-card__price {
  color: var(--color-text-white);
}

.plan-card--active .plan-card__price-unit {
  color: rgba(255, 255, 255, 0.7);
}

/* Card internals */
.plan-card__name {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 10px;
}

.plan-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 16px;
}

.plan-card__price {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 40px;
}

.plan-card__price-unit {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.plan-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  /* push button to bottom */
  margin-bottom: 24px;
}

/* Plan button — full-width, reuses border-radius token */
.plan-card__btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  text-align: center;
  border: 1.5px solid var(--color-btn-primary);
  background: var(--color-bg-card);
  color: var(--color-btn-primary);
  margin-top: auto;
}

.plan-card__btn:hover {
  background: var(--color-secondary);
  color: var(--color-text-white);
}

.plan-card__btn:active {
  transform: scale(0.98);
}

/* Active card button inverted */
.plan-card--active .plan-card__btn {
  background: var(--color-text-white);
  border-color: var(--color-text-white);
  color: var(--color-btn-primary);
}

.plan-card--active .plan-card__btn:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* Currently selected indicator */
.plan-card__current-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-icon-green);
  background: var(--color-bg-icon-green);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.plan-card__current-badge svg {
  width: 13px;
  height: 13px;
}

/* ═══════════════════════════════════════════════
       PROFILE PAGE  
    ═══════════════════════════════════════════════ */
.profile-form .section-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Card heading row */
.profile-form .section-card__header {
  padding: 20px 24px;
  background: var(--color-btn-primary);
  border-bottom: 1px solid var(--color-border);
}

.profile-form .section-card__title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-white);
}

/* Card content area */
.profile-form .section-card__body {
  padding: 25px;
}

/* ═══════════════════════════════════════════════
       AVATAR UPLOAD  — reusable: .avatar-upload
    ═══════════════════════════════════════════════ */
.profile-form .avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.profile-form .avatar-upload__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-form .avatar-upload__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  background: #c9d4e0;
  display: block;
}

.profile-form .avatar-upload__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-form .avatar-upload__hint {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════
       FORM GRID  — reusable: .form-grid
    ═══════════════════════════════════════════════ */
.profile-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

/* Full-width cell inside grid */
.profile-form .form-grid__full {
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════
       FORM FIELD  — reusable: .form-field
    ═══════════════════════════════════════════════ */
.profile-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-form .form-field__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-black);
}

.profile-form .form-field__input,
.profile-form .form-field__select,
.profile-form .form-field__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-input-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.profile-form .form-field__input::placeholder,
.profile-form .form-field__textarea::placeholder {
  color: var(--color-text-muted);
}

.profile-form .form-field__input:focus,
.profile-form .form-field__select:focus,
.profile-form .form-field__textarea:focus {
  border-color: var(--color-input-focus);
  box-shadow: var(--shadow-input-focus);
}

/* Select wrapper (for custom arrow) */
.profile-form .form-field__select-wrap {
  position: relative;
}

.profile-form .form-field__select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-muted);
  pointer-events: none;
}

.profile-form .form-field__select {
  cursor: pointer;
  padding-right: 36px;
}

/* Textarea */
.profile-form .form-field__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
       FORM ACTIONS  — reusable: .form-actions
    ═══════════════════════════════════════════════ */
.profile-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* ═══════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════ */
@media (max-width: 600px) {
  .profile-form .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-form .form-grid__full {
    grid-column: 1;
  }

  .profile-form .avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================
   PROFILE PAGE SHARED STYLES
   ============================================= */
.section-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Card heading row */
.section-card__header {
  padding: 20px 24px;
  background: var(--color-btn-primary);
  border-bottom: 1px solid var(--color-border);
}

.section-card__title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-white);
}

/* Card content area */
.section-card__body {
  padding: 25px;
}

/* ═══════════════════════════════════════════════
   AVATAR UPLOAD
═══════════════════════════════════════════════ */
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.avatar-upload__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-upload__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  background: #c9d4e0;
  display: block;
}

.avatar-upload__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avatar-upload__hint {
  font-size: 13px;
  color: var(--color-text-muted);
}

.photo-upload-zone {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-align: center;
  min-height: 110px;
}

.photo-upload-zone:hover {
  border: 1px dashed var(--color-primary);
  background: var(--color-bg-icon-blue);
}

.photo-upload-zone__icon {
  color: var(--color-text-muted);
}

.photo-upload-zone__icon svg {
  width: 26px;
  height: 26px;
}

.photo-upload-zone__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-black);
  margin: 0;
}

.photo-upload-zone__hint {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Avatar row: image left + upload zone right (Athlete variant) ── */
.avatar-upload--athlete {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

@media (max-width: 540px) {
  .avatar-upload--athlete {
    grid-template-columns: 1fr;
  }
}

.avatar-upload--athlete .avatar-upload__img {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--color-border);
  background: #c9d4e0;
  display: block;
}

/* ═══════════════════════════════════════════════
   FORM GRID & FIELDS
═══════════════════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

/* Full-width cell inside grid */
.form-grid__full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-black);
}

.form-field__input,
.form-field__select,
.form-field__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-input-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: var(--color-text-muted);
}

.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  border-color: var(--color-input-focus);
  box-shadow: var(--shadow-input-focus);
}

/* Select wrapper (for custom arrow) */
.form-field__select-wrap {
  position: relative;
}

.form-field__select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-muted);
  pointer-events: none;
}

.form-field__select {
  cursor: pointer;
  padding-right: 36px;
}

/* Textarea */
.form-field__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FORM ACTIONS
═══════════════════════════════════════════════ */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__full {
    grid-column: 1;
  }

  .avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-card__body {
    padding: 20px 16px;
  }
}

/* ----------------Dashboard.html---------------- */

/* â”€â”€ Dark-header card variant â”€â”€ */
.card--dark .card__header {
  background: var(--color-bg-dark);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 18px;
}

.card--dark .card__title {
  color: var(--color-text-white);
  font-family: var(--font-primary);
  font-size: 18px;
}

.card--dark .card__link {
  color: var(--color-text-white);
}

/* â”€â”€ Pending request item â€” extends .training-item â”€â”€ */
.pending-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.pending-item:last-child {
  border-bottom: none;
}

.pending-item__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.pending-item__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #c9d4e0;
  display: block;
}

/* green badge â€” reuses verified pattern */
.pending-item__verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: #16a34a;
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pending-item__verified svg {
  width: 8px;
  height: 8px;
}

.pending-item__info {
  flex: 1;
  min-width: 0;
}

.pending-item__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-black);
  margin: 0;
}

.pending-item__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
  margin-bottom: 0;
}

.pending-item__actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.btn-accept-lg {
  padding: 10px 22px;
  background: var(--color-btn-primary);
  color: var(--color-text-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-accept-lg:hover {
  background: var(--color-btn-hover);
}

.btn-decline-lg {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-black);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.btn-decline-lg:hover {
  border-color: var(--color-link);
  color: var(--color-link);
}

/* â”€â”€ Quick Actions card â”€â”€ */
.quick-actions {
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.quick-actions__header {
  background: var(--color-bg-dark);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-actions__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
  margin: 0;
}

.quick-actions__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-bg-card);
}

/* filled blue action button */
.quick-actions__btn-primary {
  width: 100%;
  padding: 9px;
  background: var(--color-primary);
  color: var(--color-text-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.quick-actions__btn-primary:hover {
  background: #0960a8;
}

/* outlined action button */
.quick-actions__btn-outline {
  width: 100%;
  padding: 8px;
  background: rgba(11, 117, 200, 0.2);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.quick-actions__btn-outline img {
  width: 20px;
  height: 20px;
}

.quick-actions__btn-outline:hover {
  /* border-color: rgba(255, 255, 255, 0.5); */
  background: rgba(255, 255, 255, 0.05);
}

.quick-actions__btn-primary svg,
.quick-actions__btn-outline svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* â”€â”€ Profile Status card â”€â”€ */
.profile-status-card {
  background: var(--color-bg-dark);
  border-radius: 15px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-status-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 10px;
}

.profile-status-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.profile-status-card__rate {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-white);
  text-align: right;
  margin-bottom: 15px;
}

/* Change rate reuses .subscription-card__btn */
.profile-active-btn {
  padding: 9px;
}

/* â”€â”€ Stat icon colours â€” new: orange for rating â”€â”€ */
.stat-card__icon--orange {
  background: rgba(234, 179, 8, 0.1);
}

.stat-card__icon--sky {
  background: rgba(240, 253, 244, 1);
}

.stat-card__icon--purple {
  background: rgba(240, 244, 248, 1);
}

/* â”€â”€ Responsive tweaks â”€â”€ */
@media (max-width: 640px) {
  .pending-item__actions {
    flex-direction: column;
    gap: 6px;
  }

  .btn-accept-lg,
  .btn-decline-lg {
    padding: 9px 14px;
    font-size: 13px;
  }
}



/* ----------------Availability.html---------------- */

.avail-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.avail-day-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 24px 28px;
}

.avail-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.avail-day-left {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.avail-day-label {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-black);
  user-select: none;
}

.avail-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.avail-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.avail-toggle__track {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s;
}

.avail-toggle__track::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.avail-toggle input:checked+.avail-toggle__track {
  background: var(--color-primary);
}

.avail-toggle input:checked+.avail-toggle__track::after {
  transform: translateX(20px);
}

.avail-toggle input:focus-visible+.avail-toggle__track {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.avail-slots {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.avail-day-row.disabled .avail-slots,
.avail-day-row.disabled .avail-add-btn {
  opacity: 0.35;
  pointer-events: none;
}

.avail-slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avail-time-wrap {
  position: relative;
  width: 140px;
  flex-shrink: 0;
}

.avail-time-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.avail-time-input:focus {
  border-color: var(--color-input-focus);
  box-shadow: var(--shadow-input-focus);
}

.avail-sep {
  font-size: 16px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  user-select: none;
}

.avail-delete-btn {
  margin: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    background 0.2s;
  margin-top: 6px;
  flex-shrink: 0;
  align-self: flex-start;
}

.avail-delete-btn:hover {
  color: var(--color-link);
  background: rgba(237, 27, 36, 0.08);
}

.avail-delete-btn svg {
  width: 18px;
  height: 18px;
}

.avail-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  padding: 4px 0;
  margin-top: 4px;
  transition: color 0.2s;
  margin-right: auto;
}

.avail-add-btn:hover {
  color: var(--color-primary);
}

.avail-add-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 768px) {
  .avail-day-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .avail-delete-btn {
    margin-top: 0;
  }

  .avail-time-wrap {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .avail-slot-row {
    flex-wrap: wrap;
  }

  .avail-time-wrap {
    width: 100%;
  }

  .avail-sep {
    display: none;
  }
}


/* ----------------profile-athlete.html---------------- */


.session-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.session-tag {
  padding: 10px 15px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-light);
  background: var(--color-bg);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  user-select: none;
}

.session-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.session-tag.selected {
  border-color: var(--color-primary);
  background: var(--color-bg-icon-blue);
  color: var(--color-primary);
  font-weight: 600;
}

/* â”€â”€ Rate field with prefix â”€â”€ */
.form-field__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-field__prefix {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.form-field__input--prefixed {
  padding-left: 26px;
}

/* â”€â”€ Inline note beside label â”€â”€ */
.form-field__label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rate-note {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
}