* { box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 25px;
    height: 6px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 33%;
    background-color: #3b82f6; /* Blue progress */
    transition: width 0.4s ease;
}

.step { display: none; animation: fadeIn 0.5s; }
.step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 { margin-top: 0; color: #333; text-align: center; margin-bottom: 20px;}

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; color: #555; font-size: 0.9rem; }
input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
input:focus, select:focus { outline: none; border-color: #3b82f6; }

/* DOB Group styling */
.dob-group { display: flex; gap: 10px; }
.dob-group input { text-align: center; }

.btn-group { display: flex; gap: 10px; margin-top: 20px; }
button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

.btn-next, .btn-submit { background-color: #3b82f6; color: white; }
.btn-next:hover, .btn-submit:hover { background-color: #2563eb; }
.btn-prev { background-color: #e5e7eb; color: #333; }
.btn-prev:hover { background-color: #d1d5db; }

/* Success State */
.success-step { text-align: center; }
.tick-icon {
    font-size: 50px;
    color: #22c55e;
    border: 3px solid #22c55e;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.error-msg {
    color: #ef4444;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    min-height: 20px;
}