:root {
    --bg: #f6f8fc;
    --panel: rgba(255, 255, 255, 0.92);
    --line: #dde6f2;
    --text: #102033;
    --muted: #64748b;
    --primary: #2463eb;
    --accent: #0f9d8f;
    --shadow: 0 22px 60px rgba(41, 72, 152, 0.08);
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(36, 99, 235, 0.10), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(15, 157, 143, 0.08), transparent 18%),
        linear-gradient(180deg, #fbfcfe 0%, #f3f7fc 100%);
    font-family: "DM Sans", sans-serif;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: "Manrope", sans-serif;
}

.ambient {
    position: fixed;
    border-radius: 999px;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.ambient-one {
    width: 22rem;
    height: 22rem;
    top: -4rem;
    right: -2rem;
    background: rgba(36, 99, 235, 0.12);
}

.ambient-two {
    width: 18rem;
    height: 18rem;
    left: -4rem;
    top: 18rem;
    background: rgba(15, 157, 143, 0.09);
}

.page-shell {
    position: relative;
    z-index: 1;
}

.app-nav {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(221, 230, 242, 0.85);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text) !important;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--primary), #5a8eff);
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.nav-link {
    color: var(--text) !important;
}

.nav-user-pill {
    display: inline-flex;
    flex-direction: column;
    padding: 0.45rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    line-height: 1.1;
}

.nav-user-pill small {
    color: var(--muted);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4c83f2);
    border: 0;
    box-shadow: 0 12px 24px rgba(36, 99, 235, 0.18);
}

.btn-outline-secondary {
    border-color: var(--line);
    color: var(--text);
}

.btn-outline-secondary:hover {
    background: #f4f7fb;
    color: var(--text);
    border-color: var(--line);
}

.btn-outline-danger {
    border-color: #f0b4b4;
    color: #b42318;
}

.btn-outline-danger:hover {
    background: #fff1f1;
    border-color: #e59a9a;
    color: #8f1d14;
}

.text-secondary,
.form-text {
    color: var(--muted) !important;
}

.form-control,
.form-control:focus,
.form-select,
.form-select:focus {
    color: var(--text);
    background: #fcfdff;
    border-color: var(--line);
    border-radius: 16px;
    box-shadow: none;
}

.alert {
    border-radius: 18px;
    border: 1px solid transparent;
}

code {
    color: var(--primary);
    background: #eef4ff;
    padding: 0.1rem 0.35rem;
    border-radius: 0.45rem;
}

@media (max-width: 992px) {
    .hero-surface,
    .panel,
    .panel-spacious {
        padding: 1.35rem;
        border-radius: 22px;
    }
}
