/* Rolarite MVP shell. Drop in smsango/static/css/mvp.css */
:root {
  --ink: #10241f;
  --ink-soft: #3d524c;
  --paper: #f4f1ea;
  --card: #fffcf7;
  --line: #e4ddd0;
  --teal: #1f6f62;
  --teal-deep: #144e45;
  --gold: #e0a23a;
  --gold-deep: #b7791f;
  --danger: #b42318;
  --ok: #18794e;
  --shadow: 0 18px 40px rgba(16, 36, 31, 0.08);
  --radius: 18px;
  --sidebar: 248px;
  --font: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.mvp {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}
a { color: var(--teal-deep); }
.mvp-app { display: flex; min-height: 100vh; }
.mvp-side {
  width: var(--sidebar);
  background: var(--ink);
  color: #f6f1e7;
  padding: 22px 16px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  flex-shrink: 0;
}
.mvp-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; color: white; text-decoration: none; }
.mvp-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(145deg, var(--gold), #f3d48a);
  color: var(--ink); display: grid; place-items: center; font-weight: 800;
}
.mvp-brand strong { display: block; font-size: 15px; letter-spacing: -0.02em; }
.mvp-brand span { display: block; color: #c9d5d1; font-size: 12px; }
.mvp-nav a {
  display: flex; align-items: center; gap: 10px;
  color: #e7eee9; text-decoration: none; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 4px; font-size: 14px;
}
.mvp-nav a:hover, .mvp-nav a.active { background: rgba(255,255,255,0.08); color: white; }
.mvp-nav .label { margin: 16px 12px 6px; color: #8ea39c; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.mvp-main { flex: 1; min-width: 0; }
.mvp-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 22px; position: sticky; top: 0; z-index: 5;
  background: rgba(244, 241, 234, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mvp-wallet {
  background: white; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: 14px;
}
.mvp-wallet em { color: var(--teal); font-style: normal; }
.mvp-content { padding: 22px; }
.mvp-card, .card {
  background: var(--card); border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow);
}
.hero-wallet {
  background: radial-gradient(1200px 200px at 90% -20%, rgba(224,162,58,0.35), transparent 40%), linear-gradient(160deg, var(--teal-deep), #0e2a26);
  color: white; border-radius: 24px; padding: 22px; margin-bottom: 18px;
}
.hero-wallet .amt { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.svc {
  background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  text-decoration: none; color: var(--ink); min-height: 112px; display: flex; flex-direction: column; justify-content: space-between;
}
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.svc i { color: var(--teal); font-size: 18px; }
.svc b { display: block; margin-top: 10px; }
.svc span { color: var(--ink-soft); font-size: 12px; }
.btn-gold { background: var(--gold); color: var(--ink); border: 0; border-radius: 12px; font-weight: 700; }
.btn-gold:hover { background: var(--gold-deep); color: white; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.auth-story { background: var(--ink); color: #f6f1e7; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-story h1 { font-size: 46px; line-height: 1.05; letter-spacing: -0.04em; max-width: 520px; }
.auth-form { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: min(440px, 100%); background: white; border-radius: 24px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-control { border-radius: 12px !important; border-color: var(--line) !important; min-height: 46px; }
.mvp-bottom { display: none; }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-story { display: none; }
  .mvp-side { display: none; }
  .mvp-content { padding: 16px 14px 88px; }
  .mvp-bottom {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: white;
    border-top: 1px solid var(--line); z-index: 8;
  }
  .mvp-bottom a { flex: 1; text-align: center; padding: 10px 4px 12px; color: var(--ink-soft); font-size: 11px; text-decoration: none; }
  .mvp-bottom a i { display: block; font-size: 16px; margin-bottom: 2px; }
}
