:root {
  --bg:#f3f6fb;
  --card:#fff;
  --text:#111827;
  --muted:#6b7280;
  --line:rgba(15,23,42,.08);
  --primary:#0f8f5f;
  --blue:#0b6fef;
  --soft:#eaf8f2;
  --red:#ef4444;
  --red-soft:#fff1f2;
  --green:#12a150;
  --green-soft:#eafaf1;
  --amber:#f59e0b;
  --amber-soft:#fff7e6;
  --shadow:0 16px 40px rgba(15,23,42,.08);
  --float:0 20px 60px rgba(15,23,42,.18);
}

* {
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

body {
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 10% -8%, rgba(15,143,95,.18), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(11,111,239,.16), transparent 30%),
    var(--bg);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,input,select,textarea {
  font:inherit;
}

button {
  cursor:pointer;
}

.app {
  width:min(100%,480px);
  min-height:100vh;
  margin:0 auto;
}

.topbar {
  position:sticky;
  top:0;
  z-index:30;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  background:rgba(243,246,251,.82);
  backdrop-filter:blur(22px);
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
}

.brand img {
  width:42px;
  height:42px;
  object-fit:contain;
  padding:5px;
  border-radius:16px;
  background:white;
  box-shadow:0 10px 26px rgba(15,23,42,.1);
}

.brand strong,.brand span {
  display:block;
}

.brand strong {
  font-size:16px;
  letter-spacing:-.03em;
}

.brand span {
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}

.icon-btn {
  width:40px;
  height:40px;
  border:0;
  border-radius:16px;
  background:white;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  display:grid;
  place-items:center;
}

.main {
  padding:12px 16px 108px;
}

.hero {
  position:relative;
  overflow:hidden;
  min-height:168px;
  padding:22px;
  border-radius:30px;
  color:white;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.28), transparent 26%),
    linear-gradient(135deg,#08764f 0%,#0f8f5f 45%,#0b6fef 115%);
  box-shadow:0 22px 54px rgba(15,143,95,.24);
}

.hero:after {
  content:"";
  position:absolute;
  right:-55px;
  bottom:-70px;
  width:190px;
  height:190px;
  border-radius:999px;
  border:32px solid rgba(255,255,255,.1);
}

.hero span {
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 11px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero h1 {
  max-width:300px;
  margin:14px 0 0;
  font-size:29px;
  line-height:1.06;
  letter-spacing:-.055em;
}

.hero p {
  max-width:310px;
  margin:10px 0 0;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.6;
}

.stats {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:-24px;
}

.stats article {
  padding:15px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:23px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}

.stats i {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  margin-bottom:10px;
  border-radius:15px;
  color:var(--primary);
  background:var(--soft);
}

.stats span {
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.stats strong {
  display:block;
  margin-top:4px;
  font-size:19px;
  letter-spacing:-.045em;
}

.quick {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:18px;
}

.quick button {
  min-height:88px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.quick i {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin:0 auto 7px;
  border-radius:17px;
  color:var(--primary);
  background:var(--soft);
  font-size:17px;
}

.quick span {
  display:block;
  font-size:12px;
  font-weight:850;
}

.toolbar {
  margin-top:18px;
}

.search {
  height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:19px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.search i {
  color:var(--muted);
}

.search input {
  width:100%;
  border:0;
  outline:0;
  background:transparent;
}

.filters {
  display:flex;
  gap:8px;
  overflow:auto;
  margin:12px 0;
  scrollbar-width:none;
}

.filters::-webkit-scrollbar {
  display:none;
}

.filters button {
  height:36px;
  padding:0 13px;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.86);
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.84);
  font-size:12px;
  font-weight:850;
}

.filters button.active {
  color:white;
  border-color:transparent;
  background:linear-gradient(135deg,var(--primary),var(--blue));
}

.list {
  display:grid;
  gap:11px;
}

.card,.empty {
  border:1px solid rgba(255,255,255,.86);
  border-radius:23px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.card {
  padding:14px;
}

.card-top {
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.person {
  display:flex;
  gap:11px;
  min-width:0;
}

.avatar {
  width:46px;
  height:46px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:var(--primary);
  background:var(--soft);
  font-weight:950;
}

.person strong,.person small {
  display:block;
}

.person strong {
  font-size:14px;
}

.person small {
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}

.amount {
  text-align:right;
  white-space:nowrap;
}

.amount span {
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}

.amount strong {
  display:block;
  margin-top:3px;
  color:var(--green);
  font-size:18px;
  letter-spacing:-.04em;
}

.meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:12px;
  padding:10px 11px;
  border-radius:16px;
  color:var(--muted);
  background:#f8fafc;
  font-size:12px;
}

.actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}

.actions button {
  height:38px;
  border:1px solid var(--line);
  border-radius:14px;
  background:white;
  font-size:12px;
  font-weight:850;
}

.actions .primary {
  color:white;
  border-color:transparent;
  background:linear-gradient(135deg,var(--primary),var(--blue));
}

.actions .danger {
  color:var(--red);
  background:var(--red-soft);
}

.empty {
  padding:20px;
  color:var(--muted);
  text-align:center;
}

.bottom-nav {
  position:fixed;
  left:50%;
  bottom:12px;
  z-index:40;
  width:min(calc(100% - 24px),456px);
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  padding:7px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:26px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--float);
  backdrop-filter:blur(22px);
}

.bottom-nav button {
  height:58px;
  border:0;
  border-radius:20px;
  color:var(--muted);
  background:transparent;
  display:grid;
  place-items:center;
  align-content:center;
  gap:4px;
}

.bottom-nav button.active {
  color:var(--primary);
  background:var(--soft);
}

.bottom-nav span {
  font-size:11px;
  font-weight:850;
}


.install-banner {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 24px), 456px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 48px 1fr auto 34px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 24px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15,143,95,.14), transparent 34%),
    rgba(255,255,255,.96);
  box-shadow: 0 18px 54px rgba(15,23,42,.16);
  backdrop-filter: blur(22px);
}

.install-banner[hidden] {
  display: none;
}

.install-logo-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,143,95,.12), rgba(11,111,239,.12));
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

.install-logo-wrap img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.install-copy strong,
.install-copy span {
  display: block;
}

.install-copy strong {
  font-size: 14px;
  letter-spacing: -.02em;
}

.install-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.install-banner button {
  height: 38px;
  border: 0;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 950;
}

#installAppBtn {
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 12px 24px rgba(15,143,95,.22);
}

#closeInstallBanner {
  width: 34px;
  color: var(--muted);
  background: #f3f4f6;
}

@media (max-width: 390px) {
  .install-banner {
    grid-template-columns: 44px 1fr 34px;
  }

  #installAppBtn {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

.sheet {
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:flex-end;
  justify-content:center;
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(5px);
}

.sheet.active {
  display:flex;
}

.sheet-panel {
  width:min(100%,480px);
  max-height:88vh;
  overflow:auto;
  padding:12px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius:30px 30px 0 0;
  background:white;
  box-shadow:0 -22px 72px rgba(15,23,42,.22);
}

.sheet-handle {
  width:44px;
  height:5px;
  margin:0 auto 14px;
  border-radius:999px;
  background:#d1d5db;
}

.sheet-head {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px;
}

.sheet-head span {
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.sheet-head h2 {
  margin:4px 0 0;
  font-size:24px;
  letter-spacing:-.05em;
}

.field {
  display:block;
  margin-bottom:13px;
}

.field span {
  display:block;
  margin-bottom:7px;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}

.field input,.field select,.field textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:17px;
  outline:0;
  padding:14px;
  background:white;
}

.submit {
  width:100%;
  height:50px;
  border:0;
  border-radius:18px;
  color:white;
  background:linear-gradient(135deg,var(--primary),var(--blue));
  font-weight:950;
}

.row-buttons {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
}

.row-buttons button {
  height:46px;
  border:1px solid var(--line);
  border-radius:16px;
  background:white;
  font-weight:850;
}

.row-buttons .danger {
  color:var(--red);
  background:var(--red-soft);
}

.tx-list {
  display:grid;
  gap:9px;
}

.tx-item {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-radius:16px;
  background:#f8fafc;
}

.tx-item small {
  color:var(--muted);
}

.toast {
  position:fixed;
  left:50%;
  bottom:94px;
  z-index:120;
  width:min(calc(100% - 32px),420px);
  transform:translateX(-50%) translateY(12px);
  padding:13px 14px;
  border-radius:17px;
  background:#111827;
  color:white;
  opacity:0;
  pointer-events:none;
  box-shadow:var(--float);
  transition:.2s ease;
}

.toast.show {
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

.preview-box {
  margin: -2px 0 13px;
  padding: 12px 13px;
  border-radius: 16px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.5;
}

.preview-box strong,
.preview-box small {
  display: block;
}

.preview-box small {
  margin-top: 3px;
}

.preview-box.success {
  color: var(--green);
  background: var(--green-soft);
}

.preview-box.danger {
  color: var(--red);
  background: var(--red-soft);
}

/* Modern modal, install banner, and activity */
.quick {
  grid-template-columns: repeat(5, minmax(62px, 1fr));
  overflow-x: auto;
  scrollbar-width: none;
}

.quick::-webkit-scrollbar {
  display: none;
}

.bottom-nav {
  grid-template-columns: repeat(4, 1fr);
}

.install-banner {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 24px), 456px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 34px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, #0f8f5f, #0b6fef);
  box-shadow: 0 18px 54px rgba(15,23,42,.18);
}

.install-banner[hidden] {
  display: none;
}

.install-banner strong,
.install-banner span {
  display: block;
}

.install-banner strong {
  font-size: 13px;
}

.install-banner span {
  margin-top: 2px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
}

.install-banner button {
  height: 34px;
  border: 0;
  border-radius: 13px;
  color: #0f8f5f;
  background: white;
  font-size: 12px;
  font-weight: 900;
}

.install-banner button:last-child {
  width: 34px;
  color: white;
  background: rgba(255,255,255,.18);
}

.sheet {
  align-items: flex-end;
  animation: fadeIn .18s ease both;
}

.sheet-panel {
  border: 1px solid rgba(255,255,255,.9);
  background:
    radial-gradient(circle at top right, rgba(15,143,95,.08), transparent 30%),
    #ffffff;
  animation: sheetUp .24s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheetUp {
  from {
    transform: translateY(24px);
    opacity: .7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(15,143,95,.45);
  box-shadow: 0 0 0 4px rgba(15,143,95,.10);
}

.sheet-head h2 {
  line-height: 1.08;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15,23,42,.38);
  backdrop-filter: blur(6px);
}

.confirm-card {
  width: min(100%, 390px);
  padding: 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.24);
}

.confirm-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 18px;
  color: var(--red);
  background: var(--red-soft);
}

.confirm-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.04em;
}

.confirm-card p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.confirm-actions button {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  font-weight: 900;
}

.confirm-actions .danger {
  color: white;
  border-color: transparent;
  background: var(--red);
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
}

.activity-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  background: var(--soft);
}

.activity-icon.danger {
  color: var(--red);
  background: var(--red-soft);
}

.activity-icon.warn {
  color: var(--amber);
  background: var(--amber-soft);
}

.activity-item strong,
.activity-item small {
  display: block;
}

.activity-item strong {
  font-size: 13px;
  line-height: 1.35;
}

.activity-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.activity-amount {
  white-space: nowrap;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.activity-amount.danger {
  color: var(--red);
}

/* Final clean PWA install banner */
.install-banner {
  position: fixed !important;
  top: 82px !important;
  left: 50% !important;
  z-index: 90 !important;
  width: min(calc(100% - 24px), 456px) !important;
  min-height: 74px !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) auto 34px !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 12px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  color: var(--text) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 18px 54px rgba(15,23,42,.16) !important;
  backdrop-filter: blur(22px) !important;
}

.install-banner[hidden] {
  display: none !important;
}

.install-app-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(15,143,95,.12), rgba(11,111,239,.12));
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.05);
}

.install-app-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.install-app-copy {
  min-width: 0;
}

.install-app-copy strong,
.install-app-copy span {
  display: block;
}

.install-app-copy strong {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-app-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

#installAppBtn {
  height: 38px !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: white !important;
  background: linear-gradient(135deg, var(--primary), var(--blue)) !important;
  box-shadow: 0 12px 24px rgba(15,143,95,.22) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

#installAppBtn:disabled {
  opacity: .7;
}

#closeInstallBanner {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 13px !important;
  color: var(--muted) !important;
  background: #f3f4f6 !important;
  display: grid !important;
  place-items: center !important;
}

@media (max-width: 390px) {
  .install-banner {
    grid-template-columns: 46px minmax(0, 1fr) 34px !important;
  }

  #installAppBtn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* Admin login */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 14% -8%, rgba(15,143,95,.20), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(11,111,239,.16), transparent 32%),
    #f3f6fb;
}

.login-overlay.is-hidden {
  display: none;
}

.login-card {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}

.login-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
}

.login-card > span {
  display: block;
  margin-top: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 6px 0 0;
  font-size: 30px;
  letter-spacing: -.055em;
}

.login-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn {
  height: 40px;
  border: 0;
  border-radius: 16px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 390px) {
  .logout-btn span {
    display: none;
  }

  .logout-btn {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
}


/* === Admin login gate final === */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 14% -8%, rgba(15,143,95,.20), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(11,111,239,.16), transparent 32%),
    #f3f6fb;
}

.login-overlay.is-hidden {
  display: none !important;
}

.login-card {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}

.login-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
}

.login-card > span {
  display: block;
  margin-top: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 6px 0 0;
  font-size: 30px;
  letter-spacing: -.055em;
}

.login-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.login-card .field {
  display: block;
  margin-top: 12px;
}

.login-card .field span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.login-card input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 0 15px;
  outline: none;
  background: #f8fafc;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.login-card input:focus {
  border-color: rgba(15,143,95,.45);
  box-shadow: 0 0 0 4px rgba(15,143,95,.10);
  background: #fff;
}

.login-card .submit {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 16px 34px rgba(15,143,95,.24);
  font-size: 15px;
  font-weight: 950;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn {
  height: 40px;
  border: 0;
  border-radius: 16px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 390px) {
  .logout-btn span {
    display: none;
  }

  .logout-btn {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
}
/* === /Admin login gate final === */
