* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
}

.container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.container.centered {
    text-align: center;
    margin-top: 80px;
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

h2 {
    font-size: 1.1rem;
    margin: 24px 0 8px;
    color: #1a1a2e;
}

.subtitle {
    color: #555;
    margin-bottom: 28px;
    line-height: 1.5;
}

.error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #c00;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus,
select:focus {
    border-color: #7c3aed;
}

.field.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.field.checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
    width: auto;
}

.field.checkbox label {
    font-weight: 400;
    color: #555;
    font-size: 0.875rem;
    line-height: 1.5;
}

.field.checkbox label a {
    color: #7c3aed;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.btn:hover {
    background: #6d28d9;
}

.note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 16px;
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 24px;
}

p {
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555;
}

ul {
    margin: 8px 0 16px 20px;
    color: #555;
    line-height: 1.8;
}

.btn-link {
    display: inline-block;
    margin-top: 24px;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}
