/* =========================
   GLOBAL STYLING
========================= */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 650px;
    max-width: 95%;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.6s ease-in-out;
}

/* =========================
   HEADINGS
========================= */

h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

h3 {
    color: #0047ab;
    margin-bottom: 20px;
    font-weight: 600;
}

/* =========================
   STEP TRANSITION
========================= */

.step {
    display: none;
    animation: slide 0.4s ease;
}

.step.active {
    display: block;
}

/* =========================
   INPUT FIELDS
========================= */

input {
    width: 100%;
    padding: 16px;
    margin: 12px 0;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fbff;
}

input:focus {
    outline: none;
    border-color: #0047ab;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 71, 171, 0.2);
}

/* =========================
   BUTTONS
========================= */

button {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #0047ab, #0066ff);
    color: white;
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.4);
}

/* Back button styling */
button[type="button"] {
    background: linear-gradient(135deg, #888, #555);
}

button[type="button"]:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* =========================
   SUCCESS MESSAGE
========================= */

.success {
    background: linear-gradient(135deg, #d4edff, #c2e4ff);
    color: #003366;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 71, 171, 0.15);
}

/* =========================
   CHECKBOX
========================= */

label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {
    .container {
        padding: 30px;
        border-radius: 15px;
    }

    h2 {
        font-size: 22px;
    }

    input {
        padding: 14px;
    }

    button {
        padding: 14px;
    }
}