:root {
    --app-navy: #0c3557;
    --app-blue: #0f5f9a;
    --app-ink: #153048;
    --app-warm: #f2b84b;
    --app-surface: #f6f8fb;
}

body.app-body,
body.admin-login-body {
    color: var(--app-ink);
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

a {
    color: inherit;
}

.app-navbar {
    background: rgba(12, 53, 87, 0.95);
    backdrop-filter: blur(12px);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--app-warm), #ffd67c);
    color: var(--app-navy);
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(255, 214, 124, 0.28), transparent 28%),
        linear-gradient(135deg, #0b3f69 0%, #0a588e 48%, #10283f 100%);
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-eyebrow {
    color: var(--app-warm);
}

.text-hero {
    color: rgba(255, 255, 255, 0.82);
}

.hero-card,
.feature-card,
.step-card,
.docs-card,
.sidebar-card,
.route-card,
.form-panel {
    border: 1px solid rgba(12, 53, 87, 0.08);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(12, 53, 87, 0.08);
}

.hero-card,
.feature-card,
.step-card,
.docs-card,
.sidebar-card,
.form-panel {
    padding: 1.75rem;
}

.route-card {
    display: block;
    height: 100%;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 68px rgba(12, 53, 87, 0.14);
}

.route-card-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(15, 95, 154, 0.1);
    color: var(--app-blue);
    font-size: 1.25rem;
}

.hero-alert {
    color: var(--app-ink);
}

.section-heading {
    max-width: 42rem;
}

.page-intro {
    max-width: 44rem;
}

.bg-soft {
    background: var(--app-surface);
}

.step-index {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--app-blue);
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card {
    display: flex;
    flex-direction: column;
}

.check-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.check-list div {
    display: flex;
    gap: 0.75rem;
    align-items: start;
}

.cta-section {
    background: linear-gradient(180deg, transparent 0%, rgba(12, 53, 87, 0.05) 100%);
}

.cta-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, #153048, #0f5f9a);
}

.footer-shell {
    background: #11283c;
}

.text-footer,
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a {
    text-decoration: none;
}

.form-hero {
    background:
        linear-gradient(180deg, rgba(12, 53, 87, 0.06), rgba(12, 53, 87, 0)),
        linear-gradient(135deg, #ffffff 0%, #eef5fb 100%);
}

.form-switcher {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 999px;
    background: rgba(12, 53, 87, 0.06);
}

.form-switcher-link {
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--app-ink);
    font-weight: 600;
}

.form-switcher-link.is-active {
    background: var(--app-blue);
    color: white;
}

.form-panel {
    position: relative;
    overflow: hidden;
}

.sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-panel-content {
    display: grid;
    gap: 1.25rem;
}

.form-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--app-blue), var(--app-warm));
}

.form-panel-alt::before {
    background: linear-gradient(90deg, var(--app-warm), #ffd67c);
}

.app-form .form-label {
    font-weight: 600;
    color: var(--app-ink);
}

.app-form .form-control,
.app-form .form-select {
    min-height: 3.25rem;
    border: 1px solid rgba(12, 53, 87, 0.14);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    box-shadow: inset 0 1px 2px rgba(12, 53, 87, 0.03);
}

.app-form textarea.form-control {
    min-height: 9rem;
}

.app-form .form-control:focus,
.app-form .form-select:focus {
    border-color: rgba(15, 95, 154, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(15, 95, 154, 0.12);
}

.app-form .invalid-feedback,
.app-form .form-error-message {
    font-size: 0.92rem;
}

.app-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.4rem;
}

.consent-box {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(12, 53, 87, 0.04);
}

.form-submit {
    min-height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.swal-popup {
    border-radius: 1.5rem;
    padding: 1rem 1rem 1.5rem;
}

.swal-html {
    color: #506172;
}

.swal-confirm {
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 0.9rem;
    background: #0f5f9a;
    color: #fff;
    font-weight: 700;
}

.swal-confirm:hover {
    background: #0c5183;
}

.swal-error-list {
    color: #506172;
    padding-left: 1.25rem;
}

.swal-error-list li + li {
    margin-top: 0.5rem;
}

.legal-page {
    min-height: 50vh;
}

@media (min-width: 992px) {
    .cta-card {
        flex-direction: row;
        align-items: center;
    }
}
