
html, body {
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Assistant', sans-serif;
    display: flex;
    flex-direction: column;

    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;

    transition: background 0.3s ease, color 0.3s ease;
}

main { flex: 1; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-weight: 700;
}

/* NAVBAR – AESTHETIC FUTURISTIC */
.menu-bar {
    position: sticky;
    top: 0;
    z-index: 1020; 

    padding: 6px 0;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(14,165,233,0.12);
}

body.theme-dark .menu-bar {
    background: rgba(2,6,23,0.88);
    border-bottom: 1px solid rgba(148,163,184,0.08);
}

body.theme-light .menu-bar {
    background: rgba(255,255,255,0.94);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* override bootstrap */
.navbar {
    padding: 0;
    min-height: 56px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* nav link */
.navbar .nav-link {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 14px;
    letter-spacing: 0.35px;
    opacity: 0.85;
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    opacity: 1;
    color: var(--primary);
}


/* BUTTON */
.btn {
    border-radius: 16px;
    font-weight: 800;
}

.btn-login {
    padding: 8px 22px;
    font-size: 14.5px;
    letter-spacing: 0.4px;
    background: var(--primary);
    border: none;
    color: #022c22 !important;
    box-shadow: 0 8px 24px rgba(14,165,233,0.35);
}

/* CARD */
.card {
    border-radius: 26px;
}

body.theme-dark .card {
    background: var(--dark-card);
    border: 1px solid #334155;
}

body.theme-light .card {
    background: #ffffff;
    border: 1px solid #94d8e6;
}

/* FOOTER */
.footer {
    margin-top: auto;
    padding: 20px 0;
    font-size: 14.5px;
}

body.theme-dark .footer {
    background: rgba(2,6,23,0.92);
    color: #94a3b8;
}

body.theme-light .footer {
    background: #ffffff;
    color: #64748b;
    border-top: 1px solid #e5e7eb;
}

/* LOGO – LEBIH BESAR & HIDUP */
.navbar-brand img {
    height: 46px; /* ⬅️ DIBESARKAN */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(14,165,233,0.55));
}

/* NAV TEXT – GLOW FUTURISTIC */
.navbar .nav-link {
    position: relative;
    color: inherit;
    text-shadow: 0 0 0 transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    text-shadow:
        0 0 6px rgba(14,165,233,0.7),
        0 0 14px rgba(14,165,233,0.45);
}

/* BUTTON – FLOAT UP EFFECT */
.btn,
.btn-login {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

/* hover */
.btn:hover,
.btn-login:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(14,165,233,0.45);
    filter: brightness(1.05);
}

/* active / click */
.btn:active,
.btn-login:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 16px rgba(14,165,233,0.35);
}

/* CEK TAGIHAN – FLOAT & GLOW */
.card,
.card input,
.card button {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(14,165,233,0.25);
}

.card button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14,165,233,0.45);
}

/* DROPDOWN ITEM – SOFT GLOW */
.dropdown-menu {
    backdrop-filter: blur(12px);
}

.dropdown-item:hover {
    background: transparent;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(14,165,233,0.5);
}

.modal {
    z-index: 2050 !important;
}

.modal-backdrop {
    z-index: 2040 !important;
}

/* FORCE NAVBAR COLOR BY THEME */
body.theme-dark .navbar .nav-link,
body.theme-dark .navbar .navbar-brand {
    color: var(--text-light) !important;
}

body.theme-light .navbar .nav-link,
body.theme-light .navbar .navbar-brand {
    color: var(--text-dark) !important;
}