body {
  padding-top: 64px;
  background: #f6f8fb;
}

.modern-navbar {
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.brand-flex img {
  max-height: 36px;
}

.brand-text {
  font-weight: 700;
  font-size: 18px;
}

.main-wrapper {
  padding: 24px;
  min-height: calc(100vh - 64px);
}

.balance-pill {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 6px 14px !important;
  font-weight: 600;
}

.navbar-nav > li > a {
  font-weight: 500;
}

.navbar-nav > .active > a {
  background: transparent !important;
  color: #3b82f6 !important;
}


/* Auth Layout */
.auth-container {
  margin-top: 60px;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.auth-title {
  margin-bottom: 24px;
  font-weight: 700;
}

.input-lg {
  height: 48px;
  font-size: 15px;
}

.forgot-link {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 13px;
}

.auth-divider {
  margin: 20px 0;
  position: relative;
}

.auth-divider span {
  background: #fff;
  padding: 0 10px;
  color: #888;
}

.auth-footer {
  margin-top: 20px;
}

.auth-text-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

/* ================= AUTH PAGE ================= */

.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-wrapper {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(59,130,246,.12);
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #1e40af;
}

.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.auth-input {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  font-size: 14px;
}

.auth-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,.15);
}

.password-group {
  position: relative;
}

.forgot-link {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 12px;
  color: #2563eb;
}

.remember-row {
  font-size: 13px;
  color: #475569;
}

.auth-btn {
  height: 48px;
  border-radius: 12px;
  font-weight: 600;
  background: #2563eb;
  border: none;
}

.auth-btn:hover {
  background: #1e40af;
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-divider span {
  background: #fff;
  padding: 0 12px;
  color: #94a3b8;
}

.google-btn-wrap {
  display: flex;
  justify-content: center;
}

.auth-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}

.auth-footer a {
  color: #2563eb;
  font-weight: 600;
}

.auth-info-box {
  max-width: 640px;
  margin: 20px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .auth-card {
    padding: 22px;
  }

  .auth-title {
    font-size: 20px;
  }
}


/* ===== SIGNIN LANDING ===== */

.signin-landing {
  background: #f8fbff;
}

/* HERO */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #4facfe, #38bdf8);
  color: #fff;
  padding: 70px 0 140px;
  text-align: center;
}

.hero-content h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-content h1 span {
  font-weight: 700;
}

.hero-subtext {
  margin-top: 12px;
  font-size: 14px;
  opacity: .95;
}

/* LOGIN CARD */
.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  max-width: 360px;
  margin: 24px auto 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.login-input {
  height: 46px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #dbeafe;
}

.login-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,.2);
}

.login-options {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}

.login-options a {
  color: #2563eb;
}

.login-btn {
  height: 46px;
  border-radius: 12px;
  font-weight: 600;
  background: #2563eb;
  border: none;
}

.login-btn:hover {
  background: #1e40af;
}

.divider {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 14px 0;
}

.signup-text {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
}

.signup-text a {
  font-weight: 600;
  color: #2563eb;
}

/* CURVED BOTTOM */
.wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: #f8fbff;
  border-top-left-radius: 100% 40px;
  border-top-right-radius: 100% 40px;
}

/* DESKTOP */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .login-card {
    margin-top: 32px;
  }
}
