
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f1f5f9;
    margin: 0;
    padding: 30px 16px;
    color: #1e293b;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
    text-align: center;
}

.description {
    text-align: center;
    color: #64748b;
    margin-bottom: 28px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #475569;
}

.progress-bar {
    height: 10px;
    width: 100%;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}

.progress {
    width: 33.333%;
    height: 100%;
    background: #2563eb;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateX(15px);
}

.form-step.active {
    display: block;
    animation: slideIn 0.35s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step h2 {
    margin-top: 0;
    margin-bottom: 22px;
}

label {
    display: block;
    margin: 16px 0 7px;
    font-weight: bold;
}

input {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #93c5fd;
    border-color: #2563eb;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

button {
    padding: 11px 20px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #1d4ed8;
}

.prev-btn {
    background: #64748b;
}

.prev-btn:hover {
    background: #475569;
}

.error-message {
    color: #dc2626;
    font-size: 14px;
    margin-top: 12px;
}

.summary {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.summary p {
    margin: 10px 0;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-message h2 {
    color: #15803d;
}

[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .button-group button {
        padding: 10px 14px;
    }
}
