* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #eef4ff, #f8fafc);
    color: #1f2937;
}

.container {
    max-width: 560px;
    margin: 60px auto;
    background: #ffffff;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    color: #111827;
}

small {
    display: block;
    margin-bottom: 24px;
    color: #6b7280;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    margin-top: 7px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

button {
    padding: 13px 24px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: 0.2s ease;
}

button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

button.secondary {
    background: #e5e7eb;
    color: #111827;
}

button.secondary:hover {
    background: #d1d5db;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-top: 22px;
}

.summary p {
    margin: 10px 0;
}

.error {
    color: #b91c1c;
    background: #fef2f2;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error:empty {
    display: none;
}

.legend {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

.dsga,
.confirmhint {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.confirmhint {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 12px 14px;
    border-radius: 8px;
    margin-top: 20px;
}

.dsga {
    margin-top: 18px;
}

.dsga a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.dsga a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 24px;
    }

    .buttons {
        flex-direction: column-reverse;
    }

    button {
        width: 100%;
    }
}