.form-panel {
    display: grid;
    gap: 14px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 16px;
    padding: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.form-control {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 0 18px;

    background-color: #111827;
    border: 1px solid #374151;
    border-radius: 12px;

    color: #f9fafb;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;

    outline: none;
    box-shadow: none;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 48px;

    background-image:
        linear-gradient(45deg, transparent 50%, #cbd5e1 50%),
        linear-gradient(135deg, #cbd5e1 50%, transparent 50%);
    background-position:
        calc(100% - 24px) 50%,
        calc(100% - 16px) 50%;
    background-size:
        8px 8px,
        8px 8px;
    background-repeat: no-repeat;

    color: #f9fafb;
}

select.form-control:invalid {
    color: #9ca3af;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, .45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-button {
    min-height: 54px;
    padding: 0 22px;
    white-space: nowrap;
    background: #f9fafb;
    color: #111827;
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
}

.form-button:hover:not(:disabled) {
    background: #e5e7eb;
}

.form-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
    user-select: none;
}

.toggle input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #374151;
    position: relative;
    flex: 0 0 auto;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #f9fafb;
    transition: transform .15s ease;
}

.toggle input:checked + .toggle-slider {
    background: #2563eb;
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

@media (max-width: 860px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
