/**
 * The Problem With — Overwatch Forms dark-theme overrides.
 * Scoped to .contact-page so it doesn't affect other Overwatch forms.
 */

.contact-page .tpw-contact-form-wrap {
    margin-top: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-page .ow-form {
    text-align: left;
}

.contact-page .ow-field {
    margin-bottom: 14px;
}

.contact-page .ow-field > label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--beige);
    opacity: 0.5;
    margin-bottom: 8px;
}

.contact-page .ow-required {
    color: var(--yellow);
    margin-left: 2px;
}

.contact-page .ow-form input[type="text"],
.contact-page .ow-form input[type="email"],
.contact-page .ow-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
}

.contact-page .ow-form input::placeholder,
.contact-page .ow-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-page .ow-form input:focus,
.contact-page .ow-form textarea:focus {
    border-color: var(--yellow);
}

.contact-page .ow-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-page .ow-field-desc {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.contact-page .ow-field--submit {
    margin-top: 20px;
}

.contact-page .ow-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--yellow);
    color: #000;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s;
}

.contact-page .ow-submit:hover {
    background: var(--yellow);
    transform: translateY(-1px);
}

.contact-page .ow-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-page .ow-form-message {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.contact-page .ow-form-message.ow-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.contact-page .ow-form-message.ow-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.contact-page .ow-field--text + .ow-field--email,
.contact-page .ow-field--email + .ow-field--text {
    /* leave default — stacked on mobile is fine */
}

@media (min-width: 640px) {
    .contact-page .ow-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .contact-page .ow-field[data-field-id="3"],
    .contact-page .ow-field[data-field-id="4"],
    .contact-page .ow-field--submit,
    .contact-page .ow-form-message {
        grid-column: 1 / -1;
    }
    .contact-page .ow-field {
        margin-bottom: 0;
    }
}
