:root {
    --brand: #0d6efd;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #f5f8fc;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar {
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero {
    background: linear-gradient(135deg, #0b3d91, #0d6efd);
    color: #fff;
    border-radius: 0 0 42px 42px;
    overflow: hidden;
}

.glass {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.card {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-lg {
    width: 150px;
    height: 150px;
    max-width: 100%;
    border-radius: 28px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-image-preview {
    width: 150px;
    height: 150px;
    max-width: 100%;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8f1ff;
    color: var(--brand);
    display: grid;
    place-items: center;
}

.footer {
    background: #0b1220;
    color: #cbd5e1;
}

.footer a {
    color: #e2e8f0;
    text-decoration: none;
}

.locked {
    filter: blur(1.2px);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, 0.62);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lock-modal {
    max-width: 560px;
    width: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.stat {
    font-size: 2rem;
    font-weight: 800;
}

.badge-soft {
    background: #e8f1ff;
    color: #0b5ed7;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 0.75rem;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e9ecef;
    }

    .nav-actions .btn,
    .nav-actions form {
        width: 100%;
    }

    .nav-actions .btn {
        display: block;
    }

    .hero {
        border-radius: 0 0 28px 28px;
    }
}
