html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fb 0%, #eef3f8 100%);
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .auth-brand h1 {
        font-size: 1.6rem;
        font-weight: 800;
        margin-bottom: .25rem;
    }

    .auth-brand p {
        color: #64748b;
        margin-bottom: 0;
    }

.auth-card .form-control {
    border-radius: 10px;
    padding: .75rem;
}

.auth-card .btn-primary {
    border-radius: 10px;
    padding: .75rem;
    font-weight: 700;
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.auth-subtitle {
    color: #64748b;
    margin-bottom: 1.25rem;
}

.auth-card form {
    width: 100%;
}
.account-card {
    max-width: 560px;
}

.account-nav-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.account-nav-title {
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.account-nav .nav-link {
    border-radius: 10px;
    color: #475569;
    font-weight: 600;
    margin-bottom: .35rem;
}

    .account-nav .nav-link.active {
        background: #0d6efd;
        color: #ffffff;
    }

.app-shell {
    background: #f8fafc;
    min-height: 100vh;
}

.app-navbar {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

    .app-navbar .navbar-brand,
    .app-navbar .nav-link {
        color: #f8fafc !important;
    }

    .app-navbar .nav-link {
        font-weight: 600;
        opacity: .9;
    }

        .app-navbar .nav-link:hover {
            opacity: 1;
            color: #ffffff !important;
        }

.app-brand-subtitle {
    font-size: .72rem;
    color: #cbd5e1;
    margin-top: -4px;
}

.dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

.dropdown-item {
    padding: .55rem 1rem;
    font-weight: 500;
}

.page-container {
    padding-top: 1.5rem;
}

.app-footer {
    background: #ffffff;
    font-size: .9rem;
}
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.dashboard-subtitle {
    color: #64748b;
}

.kpi-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    transition: all .2s ease;
}

    .kpi-card:hover {
        transform: translateY(-2px);
    }

    .kpi-card .card-body {
        padding: 1.5rem;
    }

.kpi-label {
    font-size: .9rem;
    opacity: .9;
    margin-bottom: .5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
}

.dashboard-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, .18);
}

    .dashboard-panel h4 {
        font-weight: 700;
        margin-bottom: 1rem;
    }

.table-modern thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.table-modern td {
    vertical-align: middle;
}

.quick-actions .btn {
    border-radius: 12px;
    padding: .8rem 1rem;
    font-weight: 600;
}