﻿:root {
    --primary: #8B0000;
    --secondary: #E65100;
    --accent: #FFD54F;
    --accent-soft: #fff3cf;
    --bg: #fff8ee;
    --card: #ffffff;
    --text: #2d2d2d;
    --muted: #6c757d;
    --border: #f1d7bf;
    --border-strong: #e7c7a6;
    --success: #198754;
    --danger: #dc3545;
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 16px 40px rgba(0,0,0,0.10);
    --shadow-lg: 0 24px 60px rgba(139, 0, 0, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top right, rgba(255, 213, 79, 0.20), transparent 24%), radial-gradient(circle at bottom left, rgba(230, 81, 0, 0.10), transparent 32%), linear-gradient(135deg, #fffaf3 0%, #fff4e4 45%, #fff8ef 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    min-height: 100vh;
}

.registration-wrapper {
    max-width: 1240px;
    margin: 30px auto;
    padding: 0 15px 40px;
}

.main-card {
    border: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-lg);
    animation: cardEntry 0.55s ease;
    position: relative;
    backdrop-filter: blur(2px);
}

    .main-card::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border: 1px solid rgba(255,255,255,0.35);
        border-radius: var(--radius-xl);
    }

.hero-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.96), rgba(230, 81, 0, 0.94)), linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 38px 30px 30px;
}

    .hero-header::before {
        content: "";
        position: absolute;
        right: -60px;
        top: -60px;
        width: 220px;
        height: 220px;
        background: rgba(255,255,255,0.09);
        border-radius: 50%;
        filter: blur(2px);
    }

    .hero-header::after {
        content: "";
        position: absolute;
        left: -90px;
        bottom: -90px;
        width: 280px;
        height: 280px;
        background: rgba(255,213,79,0.12);
        border-radius: 50%;
        filter: blur(4px);
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.hero-title {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-shadow: 0 3px 14px rgba(0,0,0,0.16);
}

.hero-subtitle {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.96;
    max-width: 760px;
}

.body-section {
    padding: 28px;
    background: linear-gradient(180deg, #fffdfb 0%, #fff8f0 100%);
}

.top-progress-wrap {
    background: rgba(255,255,255,0.94);
    border: 1px solid #f2e0cf;
    border-radius: 22px;
    padding: 18px 18px 14px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(3px);
}

.progress-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

    .progress-label-row h6 {
        margin: 0;
        color: var(--primary);
        font-weight: 800;
        font-size: 15px;
    }

    .progress-label-row span {
        font-size: 14px;
        color: var(--muted);
        font-weight: 700;
    }

.progress {
    height: 11px;
    border-radius: 999px;
    background: #f4e6d7;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.progress-bar {
    position: relative;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54f 0%, #ffb300 45%, #ff9800 100%);
    transition: width 0.35s ease;
    overflow: hidden;
}

    .progress-bar::after {
        content: "";
        position: absolute;
        top: 0;
        right: -16px;
        width: 42px;
        height: 100%;
        background: rgba(255,255,255,0.34);
        transform: skewX(-18deg);
        filter: blur(6px);
    }

.step-indicators {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.step-indicator {
    text-align: center;
    padding: 11px 8px;
    border-radius: 15px;
    background: linear-gradient(180deg, #fffaf4 0%, #fff5eb 100%);
    border: 1px solid #f3deca;
    color: #8c6f59;
    font-size: 13px;
    font-weight: 800;
    transition: 0.28s ease;
    position: relative;
    overflow: hidden;
}

    .step-indicator::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent 50%, rgba(255,255,255,0.12));
        opacity: 0;
        transition: 0.28s ease;
    }

    .step-indicator:hover::before {
        opacity: 1;
    }

    .step-indicator.active {
        background: linear-gradient(135deg, #fff6d7, #ffe4b5);
        color: var(--primary);
        border-color: #ffcc80;
        box-shadow: 0 10px 24px rgba(255, 193, 7, 0.22);
        transform: translateY(-1px);
    }

    .step-indicator.completed {
        background: linear-gradient(135deg, #f4fff6, #e7f8eb);
        border-color: #c9ebd1;
        color: #198754;
        box-shadow: 0 8px 20px rgba(25,135,84,0.10);
    }

.step-pane {
    display: none;
    animation: fadeSlide 0.4s ease;
}

    .step-pane.active {
        display: block;
    }

.section-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

    .section-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 36px rgba(0,0,0,0.08);
        border-color: var(--border-strong);
    }

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3e2d3;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139,0,0,0.12), rgba(230,81,0,0.14));
    color: var(--primary);
    font-size: 21px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.section-head h5 {
    margin: 0;
    font-size: 21px;
    font-weight: 900;
    color: var(--primary);
}

.section-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.form-label {
    font-weight: 800;
    font-size: 14px;
    color: #5b3c2b;
    margin-bottom: 8px;
}

.required-mark {
    color: var(--danger);
    margin-left: 4px;
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 15px;
    min-height: 50px;
    border: 1px solid #e7cdb8;
    background: linear-gradient(180deg, #fffefd 0%, #fffaf7 100%);
    padding: 12px 15px;
    font-size: 15px;
    box-shadow: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.18s ease;
}

textarea.form-control {
    min-height: 115px;
    resize: vertical;
}

    .form-control:hover,
    .form-select:hover,
    textarea.form-control:hover {
        border-color: #efb87b;
        background: #fffdfa;
    }

    .form-control:focus,
    .form-select:focus,
    textarea.form-control:focus {
        border-color: #ffb74d;
        box-shadow: 0 0 0 0.24rem rgba(255, 183, 77, 0.20);
        background: #fff;
        transform: translateY(-1px);
    }

.form-check-input {
    width: 1.12rem;
    height: 1.12rem;
    border: 1px solid #d7b79c;
    box-shadow: none;
}

    .form-check-input:focus {
        box-shadow: 0 0 0 0.16rem rgba(230,81,0,0.18);
        border-color: #e39c57;
    }

    .form-check-input:checked {
        background-color: var(--secondary);
        border-color: var(--secondary);
    }

.inline-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.5;
}

.upload-box {
    border: 2px dashed #e0c2a8;
    border-radius: 20px;
    padding: 22px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff7f0 100%);
    text-align: center;
    transition: 0.25s ease;
    position: relative;
}

    .upload-box:hover {
        border-color: #ffb74d;
        background: #fff7ef;
        box-shadow: 0 12px 28px rgba(230,81,0,0.08);
    }

.preview-wrap {
    margin-top: 18px;
    text-align: center;
}

#preview {
    display: none;
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn-nav,
.btn-submit {
    min-width: 170px;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 26px;
    border: 0;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

    .btn-nav::before,
    .btn-submit::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
        transition: 0.45s ease;
    }

    .btn-nav:hover::before,
    .btn-submit:hover::before {
        left: 130%;
    }

.btn-prev {
    background: linear-gradient(180deg, #f8f5f2, #efe7df);
    color: #5a4b40;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

    .btn-prev:hover {
        background: linear-gradient(180deg, #f1ebe6, #e8ddd3);
        color: #3e342c;
        transform: translateY(-1px);
    }

.btn-next {
    background: linear-gradient(135deg, #ffd54f, #ff9800);
    color: #2d1b00;
    box-shadow: 0 12px 24px rgba(255, 152, 0, 0.24);
}

    .btn-next:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 28px rgba(255, 152, 0, 0.30);
    }

.btn-submit {
    background: linear-gradient(135deg, #25b564, #157347);
    color: #fff;
    box-shadow: 0 12px 26px rgba(25, 135, 84, 0.22);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(25, 135, 84, 0.30);
    }

    .btn-next:active,
    .btn-prev:active,
    .btn-submit:active {
        transform: scale(0.98);
    }

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .summary-list li {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 16px;
        margin-bottom: 10px;
        border-radius: 14px;
        border: 1px solid #ead8c6;
        background: linear-gradient(180deg, #fffaf5 0%, #fff8f2 100%);
        font-size: 15px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.03);
    }

        .summary-list li:last-child {
            margin-bottom: 0;
        }

    .summary-list strong {
        color: var(--primary);
        min-width: 200px;
        font-weight: 800;
    }

.alert-custom {
    border-radius: 18px;
    border: 0;
    box-shadow: 0 10px 24px rgba(25,135,84,0.12);
}

.field-error {
    border-color: var(--danger) !important;
    background: #fff8f8 !important;
    box-shadow: 0 0 0 0.18rem rgba(220,53,69,0.08) !important;
}

.validation-text {
    display: none;
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
}

    .validation-text.show {
        display: block;
    }

.footer-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEntry {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 991.98px) {
    .step-indicators {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 30px;
    }

    .body-section {
        padding: 22px;
    }
}

@media (max-width: 767.98px) {
    .registration-wrapper {
        margin-top: 14px;
        padding: 0 10px 24px;
    }

    .main-card {
        border-radius: 22px;
    }

    .hero-header {
        padding: 24px 18px 22px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .body-section {
        padding: 16px;
    }

    .top-progress-wrap {
        border-radius: 18px;
        padding: 16px 14px 12px;
    }

    .section-card {
        padding: 16px;
        border-radius: 18px;
    }

    .section-head {
        align-items: flex-start;
    }

    .section-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 18px;
    }

    .section-head h5 {
        font-size: 18px;
    }

    .step-indicators {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizard-actions {
        flex-direction: column;
    }

    .btn-nav,
    .btn-submit {
        width: 100%;
    }

    .summary-list li {
        flex-direction: column;
        gap: 6px;
    }

    .summary-list strong {
        min-width: auto;
    }
}

@media (max-width: 575.98px) {
    .progress-label-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-indicator {
        font-size: 12px;
        padding: 10px 6px;
    }

    .form-control,
    .form-select,
    textarea.form-control {
        font-size: 14px;
        min-height: 47px;
    }
}
.review-consent-box {
    background: linear-gradient(180deg, #fff9f1 0%, #fff5ea 100%) !important;
    border: 1px solid #edd8c2 !important;
    box-shadow: 0 10px 24px rgba(230,81,0,0.06);
}
.registration-wrapper {
    max-width: 1500px;
}
.main-header {
    padding: 5px 0 !important;
}

.navbar {
    min-height: 50px !important;
}
.hero-header {
    background: linear-gradient(135deg,#8B0000,#E65100);
    padding: 60px 30px;
    text-align: center;
}
.main-card {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}