* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #eef2f7 0%, #dde7f0 100%);
    color: #263238;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}

.container {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 32px 36px 40px;
}

h1 {
    font-size: 22px;
    color: #1a3c6e;
    margin-bottom: 4px;
}

.subtitle {
    color: #607085;
    font-size: 14px;
    margin-bottom: 28px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 6px;
    margin-top: 18px;
}

input[type="text"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #fafbfc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3d7bd9;
    box-shadow: 0 0 0 3px rgba(61, 123, 217, 0.15);
    background: #fff;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.hint {
    font-size: 12px;
    color: #8895a7;
    margin-top: 4px;
}

.error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #a4302a;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.error ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.success-box {
    background: #eafaf0;
    border: 1px solid #b8e6c9;
    color: #1e6b3c;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

button,
.btn {
    display: inline-block;
    margin-top: 26px;
    background: #1a3c6e;
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s ease;
}

button:hover,
.btn:hover {
    background: #14304f;
}

.btn-secondary {
    background: #6b7a90;
}

.btn-secondary:hover {
    background: #565f71;
}

.row {
    display: flex;
    gap: 16px;
}

.row > div {
    flex: 1;
}

.footer-links {
    margin-top: 24px;
    font-size: 13px;
    text-align: center;
    color: #607085;
}

.footer-links a {
    color: #1a3c6e;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #e3e8ee;
}

th {
    color: #33475b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.required::after {
    content: " *";
    color: #c0392b;
}
