/* 23G SPA — tek sayfa, gün batımı tütün arka planı, toast, göz girişi */
.app-body {
  position: relative;
  min-height: 100vh;
  overflow-x: auto;
  overflow-y: auto;
}

.app-body main {
  overflow-x: auto;
  min-width: 0;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: rgba(12, 28, 24, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid rgba(78, 207, 143, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #e8f4ef;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.is-menu-open > .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-menu-open > .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.is-menu-open > .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.dash-logo-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ecf8f;
}

.app-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.75) 0%, rgba(18, 28, 40, 0.82) 45%, rgba(6, 10, 18, 0.9) 100%),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=75") center / cover no-repeat;
  filter: saturate(1.08);
}

.app-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 120, 60, 0.12) 0%,
    transparent 40%,
    rgba(20, 50, 40, 0.35) 100%
  );
  pointer-events: none;
}

.spa-view {
  display: none;
  content-visibility: hidden;
}

.spa-view--active {
  display: block;
  content-visibility: visible;
}

.spa-no-scroll {
  overflow: hidden;
}

/* Kurumsal panel — site üst çubuğu gizli (yalnızca corp-header) */
body.spa-view-corporate #guest-header,
body.spa-view-corporate #user-header {
  display: none !important;
}

#toast-host {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 360px;
  pointer-events: none;
}

.app-toast {
  pointer-events: auto;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(12, 28, 24, 0.95);
  color: #e8f4ef;
  font-size: 0.88rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left-width: 4px;
  animation: toast-pop 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.app-toast--ok {
  border-left-color: #69f0ae;
}

.app-toast--warn {
  border-left-color: #ffd54f;
}

.app-toast--danger {
  border-left-color: #e85d5d;
}

@keyframes toast-pop {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.spa-panel-bounce {
  animation: spa-bounce-in 0.7s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

@keyframes spa-bounce-in {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-user {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(78, 207, 143, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #4ecf8f;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.nav-avatar:hover {
  transform: scale(1.05);
}

.login-eye-wrap {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.login-eye-outer {
  width: min(220px, 70vw);
  height: min(220px, 70vw);
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.15), transparent 50%),
    linear-gradient(145deg, #1a4030, #0a1810);
  border: 3px solid rgba(78, 207, 143, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.login-eye-outer:hover {
  transform: scale(1.04);
}

.login-eye-inner {
  width: 72%;
  height: 36%;
  border-radius: 50%;
  background: #0d1a14;
  overflow: hidden;
  transform: scaleY(0.12);
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.34, 1.45, 0.64, 1);
  box-shadow: inset 0 0 20px rgba(78, 207, 143, 0.25);
}

.login-eye-inner--open {
  transform: scaleY(1);
}

.login-eye-trigger {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  color: transparent;
}

.login-form-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.55s ease, opacity 0.45s ease 0.15s;
}

.login-eye-wrap--open .login-form-reveal {
  max-height: 1200px;
  opacity: 1;
  overflow: visible;
}

/* Giriş — masaüstü (≥901px): üst menü + marka + sekmeler | göz (orijinal düzen) */
@media (min-width: 901px) {
  body.spa-view-auth .auth-page--login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "tabs eye";
    align-items: start;
    align-content: start;
    justify-content: stretch;
    min-height: calc(100vh - 5.25rem);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.1rem 2rem 5rem;
    gap: 1.1rem 2.75rem;
    box-sizing: border-box;
  }

  body.spa-view-auth .auth-page--login > .auth-card__brand {
    grid-area: brand;
    flex: unset;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  body.spa-view-auth .auth-page--login > .login-type-tabs {
    grid-area: tabs;
    flex: unset;
    align-self: center;
    width: 100%;
    max-width: 640px;
    margin: 0;
    justify-content: flex-start;
  }

  body.spa-view-auth .auth-page--login > .login-panel {
    flex: unset;
    width: auto;
    max-width: none;
    margin: 0;
  }

  body.spa-view-auth .auth-page--login > #login-panel-personal {
    grid-area: eye;
    justify-self: end;
    align-self: center;
  }

  body.spa-view-auth .auth-page--login:has(#login-panel-personal.hidden) > .login-type-tabs {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0 auto;
  }

  body.spa-view-auth #login-panel-personal .login-eye-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 280px;
    margin: 0;
    text-align: center;
  }

  body.spa-view-auth #login-panel-personal .login-eye-wrap > p {
    margin: 0 0 0.85rem;
    flex: unset;
    white-space: normal;
    max-width: 220px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #8fb3a8;
  }

  body.spa-view-auth #login-panel-personal .login-eye-outer {
    width: min(220px, 18vw);
    height: min(220px, 18vw);
    min-width: 168px;
    min-height: 168px;
    margin: 0;
    flex-shrink: 0;
  }

  body.spa-view-auth #login-panel-personal .login-form-reveal {
    flex: unset;
    width: 100%;
    max-width: 400px;
    margin: 1.15rem 0 0;
  }

  body.spa-view-auth #login-panel-corporate,
  body.spa-view-auth #login-panel-admin {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-top: 0.35rem;
  }

  body.spa-view-auth #login-panel-corporate .auth-card,
  body.spa-view-auth #login-panel-admin .auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  body.spa-view-auth .auth-page:not(.auth-page--login) {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 1rem;
  }
}

.login-form-reveal .auth-card {
  margin-top: 0.5rem;
}

.pwd-row {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}

.pwd-row input {
  flex: 1;
}

.pwd-toggle {
  flex-shrink: 0;
  min-width: 44px;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(10, 22, 40, 0.6);
  cursor: pointer;
  font-size: 1.1rem;
}

.phone-row {
  display: flex;
  gap: 0.5rem;
}

.phone-row .dial-locked {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
}

.reg-verify-block {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(45, 143, 95, 0.28);
  background: rgba(12, 28, 24, 0.45);
}

.reg-verify-hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #8fb3a8;
}

.reg-verify-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reg-verify-code-wrap {
  margin-bottom: 0.5rem;
}

.reg-verify-code-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.reg-verify-code-row input {
  flex: 1;
  max-width: 8rem;
  letter-spacing: 0.15em;
  text-align: center;
}

.reg-verify-ok {
  color: #4ecf8f;
  font-size: 0.88rem;
  font-weight: 600;
}

.reg-verify-timer {
  color: #ffd54f;
  font-size: 0.85rem;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
}

.hidden {
  display: none !important;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 1rem 0 3rem;
}

.store-card {
  background: rgba(12, 28, 24, 0.85);
  border: 1px solid rgba(45, 143, 95, 0.25);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 1rem;
}

.store-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.store-card h3 {
  margin: 0.75rem 1rem 0.35rem;
  font-size: 1rem;
}

.store-price {
  margin: 0 1rem;
  color: #d4a853;
  font-weight: 600;
  font-size: 0.9rem;
}

.store-price-wrap {
  margin: 0 1rem 0.5rem;
}

.store-discount-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 93, 93, 0.18);
  border: 1px solid rgba(232, 93, 93, 0.45);
  color: #ff8a80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.store-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.store-price-original {
  color: #6a8f82;
  font-size: 0.82rem;
  text-decoration: line-through;
}

.store-price--sale {
  margin: 0;
  color: #4ecf8f;
  font-weight: 700;
  font-size: 1rem;
}

.store-detail-preview {
  margin: 0.35rem 1rem 0.75rem;
  font-size: 0.85rem;
  color: #8fb3a8;
}

.store-card .btn {
  margin: 0.25rem 0.5rem;
  width: calc(100% - 1rem);
}

.cart-line,
.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.cart-noprice {
  color: #d4a853;
  font-size: 0.88rem;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(4, 10, 16, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay__box {
  background: rgba(12, 28, 24, 0.98);
  border: 1px solid rgba(78, 207, 143, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
}

.modal-overlay__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
}

.google-pick {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(10, 22, 40, 0.5);
  color: #e8f4ef;
  cursor: pointer;
}

.google-pick:hover {
  border-color: var(--accent-light, #4ecf8f);
}

.checkout-form .form-group {
  margin-bottom: 0.85rem;
}

.sensor-type-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8fb3a8;
  grid-column: 1 / -1;
}

.sensor-serial-row {
  font-size: 0.78rem;
  color: #7a9e92;
  margin: -0.35rem 0 0.35rem 0.25rem;
  grid-column: 1 / -1;
}

.sensor-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.75rem;
}

.sensor-add-row select,
.sensor-add-row input {
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(6, 16, 24, 0.8);
  color: #e8f4ef;
}

.plant-select-wrap {
  margin-bottom: 1rem;
}

.plant-select-wrap label {
  display: block;
  font-size: 0.82rem;
  color: #8fb3a8;
  margin-bottom: 0.35rem;
}

.plant-select-wrap select {
  width: 100%;
  max-width: 420px;
  padding: 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(6, 16, 24, 0.8);
  color: #e8f4ef;
}

.modal-overlay__box--wide {
  max-width: 520px;
}

.prof-hr {
  border: none;
  border-top: 1px solid rgba(78, 207, 143, 0.2);
  margin: 1rem 0;
}

.prof-diag-history {
  max-height: 220px;
  overflow: auto;
  margin-top: 0.5rem;
  border: 1px solid rgba(139, 179, 168, 0.2);
  border-radius: 10px;
  background: rgba(8, 22, 18, 0.45);
}

.prof-diag-hist {
  margin: 0;
  padding: 0.5rem 0.75rem;
  list-style: none;
}

.prof-diag-hist li {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 1fr;
  gap: 0.2rem 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(139, 179, 168, 0.12);
  font-size: 0.82rem;
  color: #c8e6dc;
}

.prof-diag-hist li:last-child {
  border-bottom: none;
}

.prof-diag-hist__date {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: #8fb3a8;
}

.prof-diag-hist__plant {
  color: #9ae6b4;
  font-weight: 600;
}

.prof-diag-hist__disease {
  color: #d4ebe2;
}

.support-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.support-list button {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(10, 22, 40, 0.5);
  color: #e8f4ef;
  cursor: pointer;
  font: inherit;
}

.support-list button:hover {
  border-color: rgba(78, 207, 143, 0.55);
}

.site-footer--wide {
  padding: 2rem 1rem 3rem;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-tag {
  color: #8fb3a8;
  font-size: 0.88rem;
  margin: 0.35rem 0 1rem;
}

.about-toggle,
.about-more-toggle {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(78, 207, 143, 0.35);
  background: rgba(12, 28, 24, 0.6);
  color: #c8e6d5;
  cursor: pointer;
  font: inherit;
}

.about-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.about-email-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.3);
  background: rgba(6, 16, 24, 0.55);
  color: #e8f4ef;
  text-decoration: none;
  font-size: 0.9rem;
}

.social-btn:hover {
  border-color: rgba(78, 207, 143, 0.5);
  color: #fff;
}

.social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.about-bio {
  text-align: left;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.65;
  color: #b8d4c8;
  font-size: 0.92rem;
}

.feature-card--link,
.irrigation-block--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature-card--link:hover,
.irrigation-block--link:hover {
  color: inherit;
}

.nav-profile-label {
  font-size: 0.78rem;
  color: #8fb3a8;
  opacity: 0.85;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem !important;
  background: rgba(12, 28, 24, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(78, 207, 143, 0.2);
}

.dash-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-brand h2 {
  font-size: 1.1rem !important;
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .app-header,
  .dash-topbar {
    position: sticky;
    top: 0;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem !important;
  }

  .brand,
  .dash-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-text,
  .dash-brand h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  #guest-header:not(.is-menu-open) #nav-guest,
  #user-header:not(.is-menu-open) #dash-actions-menu {
    display: none !important;
  }

  #guest-header.is-menu-open #nav-guest,
  #user-header.is-menu-open #dash-actions-menu {
    display: flex !important;
  }

  #nav-guest,
  #dash-actions-menu {
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.38rem !important;
    padding: 0.5rem 0.55rem;
    border-radius: 14px;
    background: rgba(6, 16, 24, 0.96);
    border: 1px solid rgba(78, 207, 143, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  }

  #nav-guest > *,
  #dash-actions-menu > * {
    width: 100%;
  }

  #nav-guest .btn-dash,
  #nav-guest a.btn-dash,
  #dash-actions-menu .btn-dash,
  #dash-actions-menu a.btn-dash,
  #dash-actions-menu .status-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    min-height: 2.35rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.86rem;
    width: 100%;
    box-sizing: border-box;
  }

  #dash-actions-menu .btn-dash--icon {
    min-height: 2.35rem;
    width: 100%;
  }

  #dash-actions-menu .status-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
  }

  #nav-guest .lang-switcher-container,
  #dash-actions-menu .lang-switcher-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  #nav-guest .lang-switcher-wrap,
  #dash-actions-menu .lang-switcher-wrap {
    margin-left: 0 !important;
    margin-right: 0;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  #nav-guest .lang-switcher-container select,
  #dash-actions-menu .lang-switcher-container select {
    width: auto;
    min-width: 5.5rem;
  }
}

@media (max-width: 520px) {
  .app-header,
  .dash-topbar {
    padding-inline: 0.6rem !important;
  }

  .dash-brand h2,
  .brand-text {
    font-size: 0.88rem !important;
  }

  .dash-brand-logo {
    width: 36px;
    height: 36px;
  }

  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal-overlay__box {
    padding: 1rem 0.9rem 1.1rem;
    border-radius: 14px 14px 12px 12px;
    max-height: 92vh;
  }

  .modal-overlay__box--wide {
    max-width: 100%;
  }

  .prof-hr {
    margin: 0.65rem 0;
  }

  .form-group {
    margin-bottom: 0.65rem;
  }

  .issue-report-fab {
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.76rem;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-overlay__box {
    padding: 1.1rem 1rem;
    max-width: min(480px, 100%);
  }
}

.btn-dash {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8f4ef;
  cursor: pointer;
  white-space: nowrap;
}

.btn-dash:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(78, 207, 143, 0.3);
}

.btn-dash--danger {
  background: rgba(232, 93, 93, 0.1);
  border-color: rgba(232, 93, 93, 0.3);
  color: #ff8a8a;
}

.btn-dash--danger:hover {
  background: rgba(232, 93, 93, 0.2);
  border-color: rgba(232, 93, 93, 0.5);
}

.status-pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69f0ae;
}

.status-pill.off .dot {
  background: #ffa726;
}

.article-body {
  padding-bottom: 2rem;
}

.lang-switcher-wrap {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 207, 143, 0.15);
  transition: all 0.3s ease;
}
.lang-switcher-wrap:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(78, 207, 143, 0.4);
}
.lang-switcher-wrap select {
  font-size: 0.75rem;
  padding: 0 0.2rem;
}

.lang-switcher-wrap:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(78, 207, 143, 0.5);
}

.lang-switcher {
  border: none !important;
  font-weight: 600;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em;
  padding-right: 0.2rem !important;
}

.lang-switcher:focus {
  outline: none;
}
.weather-forecast-container {
  display: flex;
  gap: 1.5rem;
}

.forecast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  min-width: 80px;
}

.f-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}

.f-icon {
  font-size: 1.5rem;
}

.f-temp {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===================== LOGIN TYPE TABS ===================== */
.login-type-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.login-type-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: 2px solid rgba(139, 179, 168, 0.2);
  background: rgba(12, 28, 24, 0.6);
  color: #8fb3a8;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.login-type-tab:hover {
  border-color: rgba(78, 207, 143, 0.4);
  background: rgba(78, 207, 143, 0.06);
  color: #b8d4c8;
}

.login-type-tab.active {
  border-color: rgba(78, 207, 143, 0.65);
  background: rgba(78, 207, 143, 0.1);
  color: #4ecf8f;
  box-shadow: 0 0 20px rgba(78, 207, 143, 0.1);
}

.login-type-icon {
  font-size: 1.3rem;
}

.login-panel {
  animation: spa-fade 0.3s ease;
}

/* ===================== ADMIN PANEL ===================== */
.admin-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(12, 28, 24, 0.85);
  border: 1px solid rgba(78, 207, 143, 0.25);
  border-radius: 16px;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-header-left h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.admin-data-source {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 80, 0.45);
  color: #e8b86a;
  background: rgba(80, 50, 10, 0.35);
}

.admin-data-source--live {
  border-color: rgba(78, 207, 143, 0.55);
  color: #4ecf8f;
  background: rgba(20, 60, 40, 0.45);
}

.admin-fetch-bar {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 93, 93, 0.45);
  background: rgba(40, 20, 20, 0.75);
}

.admin-fetch-bar.hidden {
  display: none;
}

.admin-fetch-bar__msg {
  margin: 0 0 0.75rem;
  color: #e8c4a0;
  font-size: 0.9rem;
}

.admin-fetch-bar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-fetch-input {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(8, 20, 16, 0.9);
  color: #e8f4ec;
}

.admin-header-right {
  display: flex;
  gap: 0.5rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: rgba(12, 28, 24, 0.85);
  border: 1px solid rgba(78, 207, 143, 0.2);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.admin-stat-val {
  font-size: 2rem;
  font-weight: 700;
  color: #4ecf8f;
}

.admin-stat-label {
  font-size: 0.82rem;
  color: #8fb3a8;
  margin-top: 0.25rem;
}

.admin-stat-sub {
  font-size: 0.72rem;
  color: #6d9488;
  margin-top: 0.2rem;
}

.admin-account-type {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-account-type--ind {
  color: #9ec4b8;
  background: rgba(139, 179, 168, 0.14);
  border: 1px solid rgba(139, 179, 168, 0.28);
}

.admin-account-type--corp {
  color: #f0d78c;
  background: rgba(212, 168, 83, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.32);
}

.admin-user-avatar--corp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15);
  font-size: 1rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.3);
  background: rgba(10, 22, 40, 0.5);
  color: #8fb3a8;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.admin-tab-btn.active {
  background: rgba(78, 207, 143, 0.15);
  border-color: rgba(78, 207, 143, 0.5);
  color: #4ecf8f;
}

.admin-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.admin-err-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-err-badge--new {
  background: rgba(232, 93, 93, 0.18);
  color: #ff9b9b;
  border: 1px solid rgba(232, 93, 93, 0.35);
}

.admin-err-badge--ok {
  background: rgba(78, 207, 143, 0.14);
  color: #8fe8b8;
  border: 1px solid rgba(78, 207, 143, 0.35);
}

.admin-err-row--reviewed td {
  opacity: 0.72;
}

.admin-err-count {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(120, 160, 255, 0.16);
  color: #9ec5ff;
  border: 1px solid rgba(120, 160, 255, 0.35);
  vertical-align: middle;
}

.admin-search {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(6, 16, 24, 0.8);
  color: #e8f4ef;
  font: inherit;
  font-size: 0.88rem;
}

.admin-search::placeholder {
  color: #5e8a7a;
}

.admin-filter-select {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(6, 16, 24, 0.8);
  color: #e8f4ef;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(78, 207, 143, 0.15);
  background: rgba(12, 28, 24, 0.7);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.admin-table thead {
  background: rgba(78, 207, 143, 0.08);
}

.admin-table th {
  padding: 0.75rem 0.65rem;
  text-align: left;
  color: #8fb3a8;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(78, 207, 143, 0.15);
}

.admin-table td {
  padding: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #d4e8de;
}

.admin-table tbody tr:hover {
  background: rgba(78, 207, 143, 0.04);
}

.admin-corp-cert-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-corp-cert-modal.hidden {
  display: none;
}

.admin-corp-cert-modal__box {
  background: #0f241e;
  border: 1px solid rgba(78, 207, 143, 0.25);
  border-radius: 14px;
  max-width: min(920px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-corp-cert-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-corp-cert-modal__head h3 {
  margin: 0;
  font-size: 1rem;
  color: #e8f4ef;
}

.admin-corp-cert-modal__close {
  background: transparent;
  border: none;
  color: #8fb3a8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.admin-corp-cert-modal__body {
  padding: 1rem;
  overflow: auto;
  text-align: center;
}

.admin-corp-cert-modal__body img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-corp-sales-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-corp-sales-modal.hidden {
  display: none;
}

.admin-corp-sales-modal__box {
  background: #0f241e;
  border: 1px solid rgba(78, 207, 143, 0.25);
  border-radius: 14px;
  max-width: min(960px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 0 1rem;
}

.admin-corp-sales-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-corp-sales-modal__head h3 {
  margin: 0;
  font-size: 1rem;
  color: #e8f4ef;
}

.admin-corp-sales-modal__close {
  background: transparent;
  border: none;
  color: #8fb3a8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.admin-corp-sales-table-wrap {
  max-height: 52vh;
  margin: 0 1rem;
}

.admin-corp-sales-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
  margin-top: 0.5rem;
}

.btn-dash--sm {
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
}

.admin-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8fb3a8;
  font-size: 0.85rem;
}

.btn-admin {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.15s;
}

.btn-admin--ban {
  background: rgba(232, 93, 93, 0.15);
  color: #ff8a8a;
  border: 1px solid rgba(232, 93, 93, 0.3);
}

.btn-admin--ban:hover {
  background: rgba(232, 93, 93, 0.3);
}

.btn-admin--unban {
  background: rgba(105, 240, 174, 0.12);
  color: #69f0ae;
  border: 1px solid rgba(105, 240, 174, 0.3);
}

.btn-admin--unban:hover {
  background: rgba(105, 240, 174, 0.25);
}

.btn-admin--detail {
  background: rgba(78, 207, 143, 0.1);
  color: #4ecf8f;
  border: 1px solid rgba(78, 207, 143, 0.25);
}

.btn-admin--detail:hover {
  background: rgba(78, 207, 143, 0.2);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.admin-detail-grid div {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.admin-detail-grid strong {
  color: #8fb3a8;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.15rem;
}

/* Admin Üst Seviye Sekmeler */
.admin-main-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.admin-main-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(139,179,168,0.15);
  border-radius: 14px;
  color: #8fb3a8;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.admin-main-tab:hover {
  background: rgba(78,207,143,0.08);
  border-color: rgba(78,207,143,0.3);
}
.admin-main-tab.active {
  background: rgba(78,207,143,0.12);
  border-color: #4ecf8f;
  color: #fff;
}
.admin-main-tab-icon {
  font-size: 1.25rem;
}

/* Admin Ayarlar Bölümü */
.admin-settings-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,179,168,0.12);
  border-radius: 14px;
  padding: 1.5rem;
}
.admin-store-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.admin-store-toggle-btn {
  min-width: 11rem;
}
.admin-store-status {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}
.admin-store-status--open {
  color: #4ecf8f;
  background: rgba(78, 207, 143, 0.12);
}
.admin-store-status--closed {
  color: #e85d5d;
  background: rgba(232, 93, 93, 0.12);
}
.store-closed-banner {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 93, 93, 0.35);
  background: rgba(232, 93, 93, 0.1);
  color: #ffb4b4;
}
.store-closed-banner p {
  margin: 0;
  line-height: 1.5;
}
.store-grid--disabled {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.admin-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.admin-price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,179,168,0.12);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-price-card img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}
.admin-price-card-info {
  flex: 1;
  min-width: 0;
}
.admin-price-card-info h4 {
  color: #fff;
  font-size: 0.88rem;
  margin: 0 0 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-price-input {
  width: 110px;
  padding: 0.45rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(139,179,168,0.25);
  border-radius: 8px;
  color: #4ecf8f;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: right;
}
.admin-price-input:focus {
  outline: none;
  border-color: #4ecf8f;
}
.admin-price-suffix {
  color: #8fb3a8;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
.admin-price-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 130px;
}
.admin-price-field-label {
  display: block;
  font-size: 0.68rem;
  color: #8fb3a8;
  margin-bottom: 0.2rem;
}
.admin-price-field-row {
  display: flex;
  align-items: center;
}
.admin-discount-input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232, 93, 93, 0.25);
  border-radius: 8px;
  color: #ff8a80;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}
.admin-discount-input:focus {
  outline: none;
  border-color: #e85d5d;
}

/* Kullanıcı Detay Modal: Sipariş Geçmişi */
.admin-orders-list {
  max-height: 180px;
  overflow-y: auto;
  font-size: 0.82rem;
}
.admin-order-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(139,179,168,0.2);
}

@media (max-width: 600px) {
  .admin-main-tabs { flex-direction: column; }
  .admin-price-grid { grid-template-columns: 1fr; }
}

.local-run-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: #3d1f6b;
  color: #f3e8ff;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
  border-bottom: 2px solid #a78bfa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.local-run-banner.hidden { display: none; }
.local-run-banner a { color: #c4b5fd; font-weight: 600; }
.local-run-banner a:hover { color: #fff; }
html.has-local-run-banner body.app-body { padding-top: 4.5rem; }

/* Sorun bildir (kullanıcı) */
.issue-report-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 207, 143, 0.45);
  background: rgba(12, 28, 24, 0.92);
  color: #e8f4ef;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, border-color 0.15s;
}
.issue-report-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 207, 143, 0.85);
}
.issue-report-fab.hidden { display: none; }
.issue-report-modal__box { max-width: 520px; }
.issue-report-modal__lead { color: #8fb3a8; font-size: 0.88rem; margin-bottom: 1rem; }
.issue-report-context {
  background: rgba(6, 16, 24, 0.65);
  border: 1px solid rgba(139, 179, 168, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.issue-report-context__row { display: flex; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.issue-report-context__label { color: #8fb3a8; min-width: 4.5rem; }
.issue-report-hash { font-size: 0.78rem; color: #c8e6dc; word-break: break-all; }
.issue-report-label { display: block; color: #c8e6dc; margin-bottom: 0.35rem; font-size: 0.88rem; }
.issue-report-textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 179, 168, 0.35);
  background: rgba(6, 16, 24, 0.85);
  color: #e8f4ef;
  font: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.issue-report-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.85rem;
  color: #8fb3a8;
}
.issue-report-actions { display: flex; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap; }

.admin-section-hint { color: #8fb3a8; font-size: 0.88rem; margin-bottom: 1rem; }
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.admin-overview-card {
  background: rgba(12, 28, 24, 0.85);
  border: 1px solid rgba(78, 207, 143, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}
.admin-overview-card--warn { border-color: rgba(240, 180, 41, 0.45); }
.admin-overview-card h3 { margin: 0 0 0.5rem; font-size: 0.95rem; color: #8fb3a8; }
.admin-overview-val { margin: 0; font-size: 1.75rem; font-weight: 700; color: #4ecf8f; }
.admin-overview-sub { margin: 0.35rem 0 0; font-size: 0.82rem; color: #8fb3a8; }
.admin-issue-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.admin-issue-status--open { background: rgba(240, 180, 41, 0.2); color: #f0b429; }
.admin-issue-status--reviewed { background: rgba(78, 207, 143, 0.15); color: #4ecf8f; }
.admin-issue-status--closed { background: rgba(139, 179, 168, 0.15); color: #8fb3a8; }
.admin-issue-pre {
  background: rgba(6, 16, 24, 0.9);
  border: 1px solid rgba(139, 179, 168, 0.25);
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre-wrap;
  color: #c8e6dc;
}
