html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f9fc;
    color: #1f2937;
    display: flex;
    flex-direction: column;
}

/* =========================
   NAVBAR (ULTRA LIGHT)
========================= */

.custom-navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eef2f7;
}

.navbar-brand {
    color: #111827 !important;
    font-weight: 600;
}

.navbar-brand i {
    color: #6aa6ff;
}

.nav-user {
    color: #6b7280;
    font-size: 14px;
}

/* =========================
   BUTTONS (SOFT SYSTEM)
========================= */

.btn {
    border-radius: 10px !important;
    font-size: 14px;
    transition: 0.2s;
}

/* soft blue */
.btn-primary-soft {
    background: #6aa6ff !important;
    color: white !important;
    border: none !important;
}

.btn-primary-soft:hover {
    background: #4f8ef7 !important;
}

/* neutral button */
.btn-soft {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
}

.btn-soft:hover {
    background: #e5e7eb !important;
}

/* soft red */
.btn-danger-soft {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

.btn-danger-soft:hover {
    background: #fecaca !important;
    color: #991b1b !important;
}

/* =========================
   CARDS
========================= */

.card {
    background: #ffffff !important;
    border: 1px solid #edf1f7 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.card:hover {
    border-color: #c7d2fe !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-header {
    background: #f9fafb !important;
    color: #6b7280 !important;
}

/* =========================
   TEXT (READABLE ALWAYS)
========================= */

p {
    color: #374151;
}

small {
    color: #6b7280;
}

a {
    color: #4f8ef7;
}

a:hover {
    color: #2563eb;
}

/* =========================
   INPUTS
========================= */

input, textarea {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
}

input:focus, textarea:focus {
    border-color: #6aa6ff !important;
    box-shadow: 0 0 0 3px rgba(106,166,255,0.15) !important;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: auto;
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid #eef2f7;
    background: #ffffff;
}