/* qOtimp custom contact form — matches the "Contact Us" design mock */

.qotimp-contact-form {
    color: #fff;
}

.qotimp-contact-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.qotimp-contact-form .form-row > * {
    flex: 1 1 0;
    min-width: 0;
}

.qotimp-contact-form .form-field {
    margin-bottom: 16px;
}

.qotimp-contact-form input[type="text"],
.qotimp-contact-form input[type="email"],
.qotimp-contact-form input[type="tel"],
.qotimp-contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    padding: 18px 20px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.qotimp-contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

.qotimp-contact-form input::placeholder,
.qotimp-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.qotimp-contact-form input:focus,
.qotimp-contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.qotimp-contact-form .qotimp-recaptcha {
    margin: 24px 0;
}

.qotimp-contact-form .btn-send-now {
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 42px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a18 0%, #ff5f6d 45%, #20c997 100%);
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.qotimp-contact-form .btn-send-now:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.qotimp-contact-form .btn-send-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.qotimp-contact-form .qotimp-contact-status {
    margin-top: 16px;
    min-height: 1em;
    font-size: 14px;
}

.qotimp-contact-form .qotimp-contact-status.is-ok { color: #16a34a; }
.qotimp-contact-form .qotimp-contact-status.is-error { color: #f87171; }

.qotimp-contact-form .qotimp-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .qotimp-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .qotimp-contact-form .form-row > * {
        margin-bottom: 16px;
    }
}
