:root{
  --bg:#0c2d48;
  --card:#ffffff;
  --ink:#ffffff;
  --muted:rgba(255,255,255,0.6);
  --line:#dfe5ef;

  --brand:#0c2d48;
  --brand-dark:#092336;

  --success:#157347;
  --danger:#d92d20;

  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.15);
}

/* RESET */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui;
  background:#0c2d48;
  color:#ffffff;
}

/* ================= CENTER LOGIN ================= */
.auth-screen{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  padding:20px;
  flex-direction:column;
}

/* ================= CONTAINER ================= */
.screen{
  max-width:430px;
  margin:0 auto;
  width:100%;
}

/* ================= HEADER ================= */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}

.topbar-left img{
  height:28px;
  color:ffffff;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}

.avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#ffffff;
  color:##0c2d48;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}

.logout-btn{
  font-size:14px;
  color:#fff;
  font-weight:600;
}

/* ================= LOGIN CARD ================= */
.form-card{
  background:#ffffff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  width:100%;
}

/* ================= BRAND ================= */
.brand-lockup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.brand-logo{
  width:80px;
  height:80px;
  margin-bottom:10px;
}

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

.brand-name{
  font-size:28px;
  font-weight:900;
  color:#fff;
}

/* ================= TEXT ================= */
h1{
  margin:0 0 8px;
  font-size:26px;
  color:#ffffff
}

p{
  margin:0 0 20px;
  color:var(--muted);
}

/* ================= FORM ================= */
.field{
  margin-bottom:18px;
}

.field span{
  display:block;
  margin-bottom:6px;
  color:var(--muted);
}

.field input{
  width:100%;
  border:none;
  border-bottom:2px solid var(--line);
  padding:12px 0;
  font-size:16px;
  outline:none;
  background:transparent;
}

.field input:focus{
  border-color:var(--brand);
}

/* ================= BUTTON ================= */

.primary-btn{
  background:#0c2d48 !important;
  color:#ffffff !important;
}

.secondary-btn{
  background:#f1f5f9;
  color:#0c2d48;
}

.show-btn{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);

  color:#ffffff;

  padding:4px 10px;
  border-radius:999px;

  font-size:13px;
  font-weight:600;

  cursor:pointer;
}

.show-btn:hover{
  background:rgba(255,255,255,0.2);
}

/* ================= ALERT ================= */
.alert{
  padding:12px;
  border-radius:10px;
  margin-bottom:10px;
}

.alert-success{
  background:#e7f6ec;
  color:var(--success);
}

.alert-error{
  background:#fdeaea;
  color:var(--danger);
}
/* BRAND CENTER */
.centered-brand{
  justify-content:center;
  margin-top:40px;
  margin-bottom:20px;
}

/* LOGO SIZE */
.brand-logo{
  width:80px;
  height:80px;
  margin:0 010px;
}

.brand-logo img{
  width:80%;
  height:100%;
  object-fit:contain;
}

/* TITLE */
.brand-name{
  color:#ffffff;
  text-align:left;
}

/* SUBTEXT */
.brand-sub{
  color:#ffffff !important;
  text-align:center;
  font-size:14px;
}


/* FIX PURPLE LINK */
.text-link{
  color:#0c2d48 !important;
  text-decoration:none;
}
.brand-name{
  color:#ffffff;
}

.brand-sub{
  color:rgba(255,255,255,0.7) !important;
}

.text-link{
  color:#0c2d48;
}

.topbar-link,
.logout-btn{
  color:#ffffff;
}

.form-card h1,
.form-card h2,
.form-card h3{
  color:#0c2d48;
}

.form-card a,
.form-card a{
  color:#0c2d48 !important;
}

.form-card label{
  color:#6b7280;
}

.show-btn{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  color:#ffffff;
  border-radius:20px;
  padding:4px 12px;
}
/* FORCE ALL CONTAINERS WHITE */
.container,
.card,
.box,
.panel,
.section,
.dashboard-card{
  background:#ffffff !important;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  padding:20px;
}
.card {
  color: #0c2d48 !important;
}
/* FIX TEXT COLORS INSIDE WHITE CARDS */
.container h1,
.container h2,
.container h3,
.panel h1,
.panel h2,
.panel h3{
  color:#0c2d48 !important;
}

.container p,
.panel p{
  color:#6b7280 !important;
}
/* BIG NUMBERS */
h1, .big-text{
  color:#0c2d48 !important;
}
input{
  background:#ffffff !important;
  color:#0c2d48 !important;
}
/* REMOVE ALL PURPLE LINKS */
a {
  text-decoration: none;
}

/* white links on dark background */
body > a,
.topbar a {
  color: #ffffff;
}

/* dark links inside cards */
.card a {
  color: #0c2d48;
}
.card .muted {
  color: #6b7280 !important;
}

.card .row-title {
  color: #0c2d48 !important;
}

.card .row-subtitle {
  color: #6b7280 !important;
}

.card .balance-amount {
  color: #0c2d48 !important;
}

a:hover{
  opacity:0.8;
}
/* ===== GLOBAL BUTTON FIX ===== */
button,
/* PRIMARY BUTTON (SIGN IN) */

/* SMALL SHOW BUTTON */
.show-btn {
    background: #ffffff;
    color: #0c2d48;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    border: none;
    margin-top: 8px;
}

.register-page .brand-name {
    text-align: left;
}

.register-page .brand-sub {
    text-align: left;
}

/* FIX PRIMARY BUTTON (SIGN IN) */

.auth-screen .primary-btn {
    display: block !important;

    width: 100% !important;
    max-width: 320px !important;
    margin: 20px auto !important;

    height: 56px !important;
    line-height: 52px !important;
    padding-top: 2px !important;

    background: #ffffff !important;
    color: #0c2d48 !important;

    border: none !important;
    border-radius: 16px !important;

    font-size: 16px !important;
    font-weight: 600 !important;

    text-align: center !important;
}

.screen .primary-btn {
    width: auto;
    height: auto;
    background: #1a237e;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

/* SECOND BUTTON (SETUP) */
.auth-screen .secondary-btn {
    display: block;
    width: 100%;
    height: 56px;
    line-height: 56px;
    text-align: center;
    background: #ffffff;
    color: #0c2d48;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    text-decoration: none;
}

/* REMOVE PURPLE LINK COLORS */
a,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
}