/* =========================================================
   V112 - ÜYE PANELİ MOBİL UYGULAMA MENÜSÜ
   ========================================================= */
.member-section-tabs-v112{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
  padding:8px;
  border:1px solid rgba(23,76,58,.12);
  border-radius:18px;
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 28px rgba(20,55,43,.07);
}
.member-section-tabs-v112 button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:9px 14px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#486158;
  font:800 13px/1.15 inherit;
  cursor:pointer;
  transition:.18s ease;
}
.member-section-tabs-v112 button:hover{background:#edf5f1;color:#174c3a}
.member-section-tabs-v112 button.is-active{
  background:#174c3a;
  color:#fff;
  box-shadow:0 8px 18px rgba(23,76,58,.19);
}
.member-section-tabs-v112 button span{font-size:17px}
.member-nav-badge-v112{
  display:inline-grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  background:#d93d38;
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.member-nav-badge-v112[hidden]{display:none!important}

.account-grid.v112-router-active{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
}
.account-grid.v112-router-active > .v112-route-hidden{display:none!important}
#memberDashboardV112,
#memberCourtTestV201,
#defiLeagueCard,
#memberTournamentHub,
#memberNotificationRouteV112,
#memberOrganizationSectionV112,
#mySeasonHistoryCard,
#myDisciplineCard{
  grid-column:1/-1;
}

.member-dashboard-v112{overflow:hidden}
.member-dashboard-head-v112{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.member-dashboard-head-v112 h2{margin:4px 0 5px}
.member-dashboard-head-v112 p{margin:0;color:#68786f;line-height:1.45}
.member-dashboard-status-v112{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:#eaf7ef;
  color:#24724f;
  font-size:11px;
  font-weight:900;
}
.member-dashboard-cards-v112{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.member-dashboard-card-v112{
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:104px;
  padding:15px;
  border:1px solid #e3ebe7;
  border-radius:18px;
  background:#fff;
  color:#1c332b;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(22,59,45,.06);
}
.member-dashboard-card-v112:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(22,59,45,.10)}
.member-dashboard-icon-v112{
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  flex:0 0 43px;
  border-radius:14px;
  background:#eef5f2;
  font-size:21px;
}
.member-dashboard-card-v112 > span:last-child{min-width:0;display:block}
.member-dashboard-card-v112 small,
.member-dashboard-card-v112 strong,
.member-dashboard-card-v112 em{display:block;min-width:0}
.member-dashboard-card-v112 small{margin-bottom:3px;color:#7c8b84;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.member-dashboard-card-v112 strong{overflow:hidden;text-overflow:ellipsis;color:#1d3a30;font-size:13px;line-height:1.3}
.member-dashboard-card-v112 em{margin-top:5px;color:#698078;font-size:10px;font-style:normal}
.member-dashboard-card-v112.defi{border-top:3px solid #1572c6}
.member-dashboard-card-v112.tournament{border-top:3px solid #d89a16}
.member-dashboard-card-v112.notification{border-top:3px solid #c74242}
.member-dashboard-card-v112.profile{border-top:3px solid #6a58bd}
.member-dashboard-shortcuts-v112{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.member-dashboard-shortcuts-v112 a,
.member-dashboard-shortcuts-v112 button{
  padding:9px 11px;
  border:1px solid #dce7e1;
  border-radius:11px;
  background:#f8fbf9;
  color:#24513f;
  font:800 11px/1.2 inherit;
  text-decoration:none;
  cursor:pointer;
}
.member-route-head-v112{margin-bottom:13px}
.member-route-head-v112 h2{margin:4px 0 5px}
.member-route-head-v112 p{margin:0;color:#68786f}
.member-notification-host-v112{min-height:180px}
.member-route-loading-v112{padding:28px;text-align:center;color:#78877f}
.member-notification-host-v112 .member-notification-panel{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.member-notification-host-v112 .member-notification-list{
  max-height:none!important;
  overflow:visible!important;
}
.member-bottom-nav-v112{display:none}

@media(max-width:1100px){
  .member-dashboard-cards-v112{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
  body.admin-body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  .member-section-tabs-v112{display:none!important}
  .account-grid.v112-router-active{display:block!important}
  .account-grid.v112-router-active > [data-member-view]:not(.v112-route-hidden){margin-bottom:14px!important}
  .admin-title{margin-bottom:12px!important}
  .admin-title h1{font-size:clamp(22px,7vw,30px)!important}
  .admin-title p{font-size:12px!important;line-height:1.45!important}
  #memberNotificationWrap{display:none!important}
  .member-dashboard-head-v112{gap:10px;margin-bottom:13px}
  .member-dashboard-head-v112 h2{font-size:21px}
  .member-dashboard-status-v112{padding:6px 8px;font-size:9px}
  .member-dashboard-cards-v112{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  .member-dashboard-card-v112{min-height:96px;padding:12px 10px;gap:9px;border-radius:15px}
  .member-dashboard-icon-v112{width:36px;height:36px;flex-basis:36px;border-radius:11px;font-size:18px}
  .member-dashboard-card-v112 strong{font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .member-dashboard-card-v112 em{font-size:9px}
  .member-dashboard-shortcuts-v112{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .member-dashboard-shortcuts-v112 button{grid-column:1/-1}
  .member-bottom-nav-v112{
    position:fixed;
    z-index:150;
    left:0;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    min-height:64px;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(22,67,51,.13);
    background:rgba(255,255,255,.96);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    box-shadow:0 -10px 28px rgba(15,49,37,.12);
  }
  .member-bottom-nav-v112 button{
    position:relative;
    min-width:0;
    min-height:52px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    padding:4px 2px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#6f7f77;
    cursor:pointer;
  }
  .member-bottom-nav-v112 button > span{font-size:20px;line-height:1}
  .member-bottom-nav-v112 button > small{font-size:9px;font-weight:900;line-height:1.1;white-space:nowrap}
  .member-bottom-nav-v112 button.is-active{background:#eaf3ef;color:#174c3a}
  .member-bottom-nav-v112 .member-nav-badge-v112{
    position:absolute;
    top:2px;
    left:calc(50% + 9px);
    min-width:17px;
    height:17px;
    font-size:9px;
    box-shadow:0 0 0 2px #fff;
  }
  .member-notification-route-v112{padding:13px!important}
  .member-notification-host-v112 .member-notification-panel{border:0!important}
  .member-notification-host-v112 .member-notification-panel-head{padding:12px 8px!important}
  .member-notification-host-v112 .member-notification-list{padding:4px 0!important}
}

@media(max-width:420px){
  .member-dashboard-cards-v112{grid-template-columns:1fr 1fr}
  .member-dashboard-card-v112{align-items:flex-start;flex-direction:column;min-height:112px}
  .member-dashboard-card-v112 em{display:none}
  .member-bottom-nav-v112 button > small{font-size:8px}
}

/* =========================================================
   V114 - MOBİL ÜYE PANELİ ÜST HIZLI İŞLEMLER + BAŞA DÖN
   ========================================================= */
.member-mobile-quick-actions-v114,
.member-back-to-top-v114{display:none}

@media(max-width:820px){
  /* Aynı işlemleri üst başlıkta tekrar göstermeyip mobil hızlı çubuğu sade tut. */
  .admin-header .admin-actions-top > a.admin-back[href="/"],
  .admin-header .admin-actions-top > #logoutBtn{
    display:none!important;
  }

  .member-mobile-quick-actions-v114{
    position:sticky;
    z-index:120;
    top:var(--member-header-height-v114, 64px);
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    width:min(100%, 760px);
    margin:0 auto 10px;
    padding:8px 12px;
    border-bottom:1px solid rgba(23,76,58,.13);
    background:rgba(247,245,238,.97);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    box-shadow:0 8px 18px rgba(17,51,39,.08);
  }
  .member-mobile-quick-actions-v114 > a,
  .member-mobile-quick-actions-v114 > button{
    position:relative;
    min-width:0;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 7px;
    border:1px solid rgba(23,76,58,.19);
    border-radius:13px;
    background:#fff;
    color:#174c3a;
    text-decoration:none;
    font:900 11px/1.15 inherit;
    text-align:center;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(23,76,58,.05);
  }
  .member-mobile-quick-actions-v114 > a:active,
  .member-mobile-quick-actions-v114 > button:active{
    transform:translateY(1px);
    background:#edf5f1;
  }
  .member-mobile-quick-actions-v114 .quick-icon-v114{
    font-size:16px;
    line-height:1;
  }
  .member-mobile-quick-actions-v114 .member-nav-badge-v112{
    position:absolute;
    top:-5px;
    right:-4px;
    min-width:19px;
    height:19px;
    box-shadow:0 0 0 2px #f7f5ee;
  }

  /* Menüler arası geçişte üst bölüm çubuğun altında kalmasın. */
  .admin-main{
    scroll-margin-top:calc(var(--member-header-height-v114, 64px) + 62px);
  }

  .member-back-to-top-v114{
    position:fixed;
    z-index:170;
    right:13px;
    bottom:calc(78px + env(safe-area-inset-bottom));
    min-width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:999px;
    background:#174c3a;
    color:#fff;
    font:900 11px/1 inherit;
    box-shadow:0 10px 26px rgba(14,50,37,.26);
    cursor:pointer;
    opacity:1;
    transform:translateY(0);
    transition:opacity .18s ease, transform .18s ease;
  }
  .member-back-to-top-v114[hidden]{display:none!important}
  .member-back-to-top-v114 .back-top-arrow-v114{font-size:18px;line-height:1}
}

@media(max-width:390px){
  .member-mobile-quick-actions-v114{gap:5px;padding-left:8px;padding-right:8px}
  .member-mobile-quick-actions-v114 > a,
  .member-mobile-quick-actions-v114 > button{font-size:10px;padding-left:4px;padding-right:4px}
}
/* V190 - Uye panelinde Bildirim/Profil yerine sabit 5'li site ana navigasyonu */
@media(max-width:760px){
  .member-bottom-nav-v112.member-bottom-nav-v190{grid-template-columns:repeat(5,minmax(0,1fr))!important;padding-left:4px!important;padding-right:4px!important}
  .member-bottom-nav-v112.member-bottom-nav-v190 a{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:#15372b;border-radius:12px;padding:3px 1px}
  .member-bottom-nav-v112.member-bottom-nav-v190 a>span{font-size:19px;line-height:1}
  .member-bottom-nav-v112.member-bottom-nav-v190 a>small{font-size:8px;font-weight:900;line-height:1.05;text-align:center;white-space:normal}
  [data-theme="dark"] .member-bottom-nav-v112.member-bottom-nav-v190 a{color:#f8f3ea}
}

@media(max-width:900px){.member-mobile-quick-actions-v114{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* V216.1 - Mobil alt menü Rezervasyon */
.v2161-bottom-reservation{font:inherit}
.v2161-bottom-reservation[hidden]{display:none!important}
.v2161-bottom-reservation span{display:block;font-size:20px;line-height:1}
.v2161-bottom-reservation small{display:block;font-size:10px;margin-top:4px}

/* V232.0 - Mobil üye paneli kullanılabilirlik */
.member-mobile-back-v2320{display:none}
@media(max-width:820px){
  .member-mobile-back-v2320{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:0 0 12px;padding:10px 14px;border:1px solid rgba(23,76,58,.22);border-radius:999px;background:#fff;color:#174c3a;font-weight:900;font-size:13px;box-shadow:0 5px 16px rgba(15,49,37,.08);cursor:pointer}
  .member-mobile-back-v2320[hidden]{display:none!important}
  [data-theme="dark"] .member-mobile-back-v2320{background:#173d31;color:#f7f3ea;border-color:rgba(255,255,255,.16)}
  .member-bottom-nav-v112.member-bottom-nav-v190{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
