:root {
  --bg: #f2f6fc;
  --card: #ffffff;
  --accent: #0096c7;
  --text: #1f3559;
  --muted: #5f718d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-shell {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px 24px;
}

.card {
  background: var(--card);
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  padding: 20px;
}

.hidden { display: none; }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
label { display: block; margin: 10px 0; font-size: 14px; }
input, textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #b8c8db;
  border-radius: 6px;
  font: inherit;
}
textarea { min-height: 70px; }
.btn {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-success { background: #1f8f4b; }
.btn-danger { background: #b93d3d; }
.pill {
  display: inline-block;
  background: #e7f5ed;
  color: #1f8f4b;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.balance {
  margin: 12px 0;
  font-size: 38px;
  font-weight: 800;
}
.panel {
  margin: 14px 0;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  padding: 12px;
  background: #f7faff;
}
.status { min-height: 20px; margin: 10px 0; }
.muted { color: var(--muted); }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
th, td {
  border: 1px solid #d7e1ee;
  padding: 7px;
  font-size: 13px;
  vertical-align: top;
}
tr.selected { background: #e8f4ff; }

.splash-screen {
  position: fixed;
  inset: 0;
  background: #dfe5ed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.splash-card {
  width: min(720px, 95vw);
  background: #f7f9fc;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  padding: 36px 24px 44px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(28, 53, 89, 0.12);
}

.splash-logo {
  width: min(192px, 43vw);
  height: auto;
  object-fit: contain;
}

.splash-text {
  margin: 10px 0 14px;
  color: #385272;
  font-size: 24px;
  font-weight: 600;
}

.splash-bar {
  width: min(420px, 80vw);
  height: 16px;
  background: #c8d8e8;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto;
}

.splash-bar-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0096c7, #3ec2e7);
  animation: splashLoad 3s linear forwards;
}

@keyframes splashLoad {
  from { width: 0; }
  to { width: 100%; }
}


#login-card { max-width: 720px; margin: 0 auto; }

.login-subtitle { text-align: center; margin-bottom: 14px; }
.login-btn-row { display: block; margin-top: 4px; }
#login-btn { width: 100%; }
#login-status { text-align: center; }

.splash-screen { animation: splashFadeOut 0.35s ease forwards; animation-delay: 3s; }
@keyframes splashFadeOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}




.login-banner { display:block; width:min(280px, 46vw); height:auto; margin: 0 auto 8px; }

