/* Điều Hòa Nam Anh — contact form. */

/* =========================================
   CONTACT FORM 7 - MODERN CONTACT FORM
========================================= */

.contact-form {
    width: 100%;
/*     max-width: 680px; */
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* Form group */
.contact-form .form-group {
    margin-bottom: 20px;
}

/* Label */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form label span {
    color: #e53935;
    margin-left: 2px;
}

/* Input / Select / Textarea */
.contact-form .form-control {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    margin: 0;
    box-sizing: border-box;

    background: #f8f9fb;
    border: 1px solid #e2e5e9;
    border-radius: 10px;

    color: #222;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;

    outline: none;
    transition: all 0.25s ease;

    box-shadow: none;
}

/* Placeholder */
.contact-form .form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Focus */
.contact-form .form-control:focus {
    background: #fff;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
}

/* Select */
.contact-form select.form-control {
    cursor: pointer;
    appearance: auto;
}

/* Textarea */
.contact-form textarea.form-control {
    min-height: 130px;
    height: 130px;
    padding: 14px 16px;
    resize: vertical;
}

/* Submit */
.contact-form .form-submit {
    margin-top: 8px;
}

/* Button */
.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;
    padding: 12px 24px;

    border: 0;
    border-radius: 10px;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* Button hover */
.contact-form .btn-submit:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Button active */
.contact-form .btn-submit:active {
    transform: translateY(0);
}

/* CF7 validation */
.contact-form .wpcf7-not-valid {
    border-color: #e53935 !important;
    background: #fffafa;
}

.contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #e53935;
    font-size: 13px;
}

/* Response message */
.contact-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
}

/* Loading */
.contact-form .wpcf7-spinner {
    margin: 0 0 0 10px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .contact-form {
        padding: 20px;
        border-radius: 14px;
    }

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

    .contact-form label {
        font-size: 14px;
    }

    .contact-form .form-control {
        height: 50px;
        font-size: 14px;
        border-radius: 9px;
    }

    .contact-form textarea.form-control {
        min-height: 110px;
        height: 110px;
    }

    .contact-form .btn-submit {
        min-height: 50px;
        font-size: 14px;
    }
}

