/* 
   Contact Form Professional Corporate Design
   Target: contact_send.php
*/

@charset "utf-8";

:root {
    --contact-point: var(--point-color);
    --contact-border: #ddd;
    --contact-text-main: #222;
    --contact-text-muted: #666;
    --contact-bg-gray: #f9f9f9;
}

.form {
    max-width: 100%;
    margin: 50px auto;
    padding: 0;
}

/* Agreement Section */
.agreed {

    border: 1px solid #ddd;
    background: #fff;
}

textarea.agreed {
    width: 100%;
    height: 160px;
    padding: 20px;
    border: none;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: none;
    outline: none;
    display: block;
    box-sizing: border-box;
}

.agreed p {
    margin: 0;
    padding: 15px 25px;
    text-align: right;
    background: #fcfcfc;
}

.agreed label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #111;
    font-weight: 600;
    cursor: pointer;
}

.agreed input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--contact-point);
}

/* Form Table Styling */
.styletbl.contact {
    width: 100% !important;
    border-collapse: collapse !important;
    border-top: 2px solid #111 !important;
    border-bottom: 1px solid #111 !important;
    margin-bottom: 40px;
}

.styletbl.contact tr {
    border-bottom: 1px solid #eee;
}

.styletbl.contact th {
    width: 220px;
    padding: 22px 30px !important;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    background: #f9f9f9 !important;
    vertical-align: middle;
    border: none !important;
    letter-spacing: -0.02em;
}

.styletbl.contact td {
    padding: 12px 30px !important;
    border: none !important;
    background: #fff !important;
}

/* Input Styles */
.styletbl.contact input[type="text"],
.styletbl.contact input[type="email"],
.styletbl.contact input[type="tel"],
.styletbl.contact select,
.styletbl.contact textarea {
    width: 100% !important;
    max-width: 100%;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 0.95rem !important;
    color: #111 !important;
    transition: all 0.2s ease;
    outline: none !important;
    box-sizing: border-box !important;
}


.styletbl.contact textarea {
    height: 220px !important;
    resize: vertical !important;
    padding: 15px !important;
}

.styletbl.contact select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;
    padding-right: 40px !important;
}

/* Captcha Styling */
#captcha {
    margin: 40px 0 !important;
    align-items: center;
    gap: 20px;
}

#captcha #captcha_img {
    border: 1px solid #ddd;
}

#captcha #captcha_key {
    padding: 10px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    width: 120px !important;
}

/* Submit Button Area */
.text-center {
    text-align: center !important;
    margin-top: 60px;
}

.send_btn1 {
    display: inline-block !important;
    width: 300px !important;
    height: 65px !important;
    line-height: 65px !important;
    padding: 0 !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 2px !important;
    border-radius: 6px !important;
}

.send_btn1:hover {
    background: var(--contact-point) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#captcha.m_captcha audio {
    display: none !important;
}

#captcha.m_captcha #captcha_img {
    width: 100px !important;
    height: 40px !important;
    display: inline-block !important;
    margin: 0 !important;
}

#captcha.m_captcha #captcha_key {
    height: 40px !important;
    line-height: 40px !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    textarea.agreed {
        font-size: 0.84rem;
    }

    .styletbl.contact th {
        width: 160px;
        padding: 20px !important;
    }

    .styletbl.contact td {
        padding: 15px 20px !important;
    }
}

@media (max-width: 768px) {
    .styletbl.contact th {
        display: block;
        width: 100%;
        padding: 15px 20px !important;
        border-bottom: 1px solid #eee !important;
    }

    .styletbl.contact td {
        display: block;
        width: 100%;
        padding: 15px 20px 25px !important;
    }

    .styletbl.contact input,
    .styletbl.contact select {
        max-width: 100%;
    }

    .send_btn1 {
        width: 100% !important;
    }
}