body {
    background-color: #0f2238;
    font-family: Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

.container {
    width: 900px;
    max-width: calc(100% - 40px);
    margin: 50px auto;
}

h2 {
    margin-bottom: 25px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    margin-top: 20px;
}

label {
    font-size: 12px;
    margin-bottom: 6px;
    color: #a0b3c6;
    line-height: 1.4;
}

input,
select,
textarea {
    background: #1c3553;
    border: 1px solid transparent;
    padding: 12px;
    border-radius: 6px;
    color: white;
    outline: none;
    box-sizing: border-box;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: #8fa5bc;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    opacity: 0.95;
}

.hidden {
    display: none;
}

h3 {
    margin: 20px 0 10px;
    color: #cbd5e1;
}

.error {
    color: #f87171;
    font-size: 11px;
    margin-top: 4px;
    min-height: 14px;
}

input.error-border,
select.error-border,
textarea.error-border {
    border: 1px solid #f87171;
}

.success-box {
    text-align: center;
    padding: 80px 20px;
}

.success-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.success-box p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
}

.combo-box {
    position: relative;
}

.combo-box input {
    cursor: text;
}

.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #1c3553;
    border: 1px solid #2a4b73;
    border-radius: 6px;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-sizing: border-box;
}

.dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    color: white;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: #2a4b73;
}

.dropdown-empty {
    padding: 10px 12px;
    color: #8fa5bc;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}


.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}


.form-banner {
    width: 100%;
    margin-bottom: 20px;
}

.form-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
