/* Sitehotel Portal — frisch Grün/Hell */
:root {
  --mint: #20c997;
  --mint-dark: #199173;
  --bg: #f6f9fb;
  --ink: #1f2d3d;
  --muted: #6c757d;
  --line: #e5e9ee;
  --sidebar: #14323b;
  --sidebar-ink: #c9d6db;
  --sidebar-ink-strong: #ffffff;
  --shadow: 0 2px 10px rgba(20, 50, 59, 0.06);
}

/* Bootstrap-Override für Primary */
.btn-primary { background: var(--mint); border-color: var(--mint); }
.btn-primary:hover, .btn-primary:focus { background: var(--mint-dark); border-color: var(--mint-dark); }
.btn-outline-primary { color: var(--mint); border-color: var(--mint); }
.btn-outline-primary:hover { background: var(--mint); border-color: var(--mint); }
.text-mint { color: var(--mint) !important; }
a { color: var(--mint-dark); }
a:hover { color: var(--mint); }

body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* =========================
   AUTH (login/register/...)
   ========================= */
.auth-body { min-height: 100vh; background:
  radial-gradient(1200px 600px at 20% -10%, rgba(32,201,151,0.15), transparent 60%),
  radial-gradient(1200px 600px at 110% 110%, rgba(32,201,151,0.1), transparent 60%),
  var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-wrapper { width: 100%; max-width: 440px; }
.auth-card { background: #fff; border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-brand i { font-size: 36px; color: var(--mint); }
.auth-brand-name { font-weight: 700; font-size: 22px; margin-top: 4px; }
.auth-brand-sub { font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--muted); text-decoration: none; font-size: 13px; }
.auth-foot a:hover { color: var(--mint-dark); }
.otp-input { letter-spacing: 0.4em; font-weight: 600; font-size: 24px; }

/* =========================
   PORTAL LAYOUT
   ========================= */
.portal-body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }

.portal-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 240px;
  background: var(--sidebar); color: var(--sidebar-ink);
  padding: 20px 14px; z-index: 100;
}
.portal-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 18px;
  padding: 4px 8px 16px 8px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.portal-brand i { color: var(--mint); font-size: 22px; }
.portal-nav { margin-top: 12px; gap: 2px; }
.portal-nav a {
  display: flex; align-items: center; gap: 12px;
  color: var(--sidebar-ink); text-decoration: none;
  padding: 10px 12px; border-radius: 8px;
  font-weight: 500; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.portal-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.portal-nav a.active { background: var(--mint); color: #fff; }
.portal-nav i { font-size: 18px; width: 20px; text-align: center; }
.portal-logout { padding: 8px; }

.portal-topbar {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.portal-brand-mobile { color: var(--ink); font-weight: 700; text-decoration: none; }
.portal-brand-mobile i { color: var(--mint); margin-right: 6px; }

.portal-main { padding-left: 0; padding-bottom: 80px; }
@media (min-width: 992px) {
  .portal-main { padding-left: 240px; padding-bottom: 0; }
}

.portal-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 90;
}
.portal-bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--muted); padding: 6px 4px;
  font-size: 11px; font-weight: 500;
}
.portal-bottomnav a i { font-size: 20px; margin-bottom: 2px; }
.portal-bottomnav a.active { color: var(--mint-dark); }
.portal-bottomnav a.active i { color: var(--mint); }

/* Admin-Skin: dunklere Sidebar-Akzentfarbe statt Mint */
.admin-skin .portal-nav a.active { background: #2c3e50; }
.admin-skin .portal-brand i { color: #ffc107; }

/* =========================
   CARDS
   ========================= */
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; flex-shrink: 0;
}
.bg-mint { background: var(--mint); }
.bg-warn { background: #f6a609; }
.bg-dark-soft { background: #2c3e50; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.1; }

.panel-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

.tariff-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; box-shadow: var(--shadow); height: 100%;
}

.invoice-list table { font-size: 14.5px; }
.qr-img { max-width: 220px; }

/* Forms */
.form-control:focus { border-color: var(--mint); box-shadow: 0 0 0 .2rem rgba(32,201,151,.18); }

/* Alerts kompakter */
.alert { border-radius: 10px; }
