 /* =========================
   GLOBAL
========================= */
body {
    font-family: Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   BACKGROUND VIDEO
========================= */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* =========================
   FORM CONTAINER
========================= */
.form-container {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    overflow: hidden;
    margin: 15px;
}

/* =========================
   HEADER
========================= */
.form-header {
    background-color: #072956;
    color: white;
    padding: 15px;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.form-header h5 {
    margin: 0;
}

/* =========================
   BODY
========================= */
.form-body {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
}

.form-body label {
    margin: 10px 0 4px;
    font-weight: 600;
    color: #072956;
}

/* unified input style */
.form-control {
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 14px;
}

/* =========================
   BUTTON
========================= */
.btn-custom {
    background-color: #072956;
    color: white;
    border-radius: 20px;
    border: 2px solid #072956;
    padding: 8px 30px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: white;
    color: #072956;
    border: 2px solid #072956;
}

/* =========================
   STEPS
========================= */
.step {
    display: none;
    width: 100%;
}

.step.active {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 15px 0;
}
/* =========================
   ERROR TEXT
========================= */
small {
    display: block;
    min-height: 14px;
}

/* =========================
   INPUT GROUP (CLEANED)
========================= */
.input-group {
    align-items: stretch;
}

.input-group .form-control {
    height: 40px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.input-group-text {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #fff;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
    border-left: 0;
}

.input-group-text i {
    font-size: 16px;
    color: #072956;
}

.input-group-text:hover {
    background: #f2f2f2;
}

/* =========================
   PASSWORD FIX (kept safe)
========================= */
#step3 .input-group {
    margin-top: 0;
}

/* =========================
   TERMS
========================= */
.terms-box p {
    text-align: justify;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 576px) {

    .form-body {
        padding: 18px;
    }

    .form-header h5 {
        font-size: 1rem;
    }

    .btn-custom {
        padding: 8px 20px;
    }

    #step2 .row .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}