/* Contact Form UI */

.introR .Into {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    padding: 24px 20px;
}

.introR .Into p {
    margin: 0;
    padding: 0;
}

.introR .Into form {
    width: 100%;
    margin: 0;
}

/* Override box.css for this form only */
.introR .Into form .Bx1,
.introR .Into form .Bx2 {
    clear: both !important;
    float: none !important;
    display: grid !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box;
}

.introR .Into form .Bx2 {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
}

.introR .Into form .Bx1 {
    display: block !important;
    margin: 6px 0 14px 0 !important;
}

.introR .Into form .Bx1 hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 0;
}

.introR .Into form .FL {
    float: none !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.introR .Into form .FR {
    float: none !important;
    display: block !important;
    width: auto !important;
    min-width: 0;
    color: #111827;
}

red {
    color: #dc2626;
    font-weight: 700;
    padding-right: 2px;
}

.introR .Into form .FR input[type="text"],
.introR .Into form .FR input[type="email"],
.introR .Into form .FR textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
    min-height: 52px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* File input needs dedicated spacing to keep native hint text fully visible */
.introR .Into form .FR input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    line-height: 1.35;
    min-height: 52px;
}

.introR .Into form .FR input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.introR .Into form .FR input[type="file"]::-webkit-file-upload-button {
    margin-right: 10px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.introR .Into form .FR textarea {
    min-height: 150px;
    resize: vertical;
}

.introR .Into form .FR input::placeholder,
.introR .Into form .FR textarea::placeholder {
    color: #94a3b8;
}

.introR .Into form .FR input:hover,
.introR .Into form .FR textarea:hover {
    border-color: #94a3b8;
    background: #fcfdff;
}

.introR .Into form .FR input[type="file"]:hover {
    border-color: #94a3b8;
    background: #fcfdff;
}

.introR .Into form .FR input:focus,
.introR .Into form .FR textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.introR .Into form .FR input[type="file"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Captcha row */
.introR .Into form .FR span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    max-width: 100%;
    height: 42px;
    margin-right: 10px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 2px;
    vertical-align: middle;
}

.introR .Into form .FR .captcha-input {
    width: 170px;
    max-width: 100%;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
    margin-left: 0;
    border-radius: 10px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 700;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0f172a;
    text-shadow: none;
    background-color: #ffffff !important;
}

.introR .Into form .FR .captcha-input:focus,
.introR .Into form .FR .captcha-input:active {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0f172a;
    background-color: #ffffff !important;
}

.introR .Into form .FR .captcha-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.introR .Into form .line {
    clear: both;
    width: 100%;
    margin-top: 18px;
    text-align: center;
    border: 0 !important;
}

.introR .Into form .insubmit {
    display: inline-block;
    min-width: 190px;
    min-height: 48px;
    padding: 12px 30px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
    -webkit-appearance: none;
    appearance: none;
    letter-spacing: 1px;
    cursor: pointer;
    box-sizing: border-box;
    overflow: visible;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.introR .Into form .insubmit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.32);
    filter: brightness(1.04);
}

.introR .Into form .insubmit:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

/* Responsive */
@media only screen and (max-width: 1200px) {
    .introR .Into form .Bx2 {
        grid-template-columns: 145px minmax(0, 1fr);
        column-gap: 12px;
    }

    .introR .Into form .FL {
        font-size: 14px;
    }
}

@media only screen and (max-width: 992px) {
    .introR .Into {
        padding: 20px 16px;
    }

    .introR .Into form .Bx2 {
        grid-template-columns: 120px minmax(0, 1fr);
        row-gap: 6px;
    }

    .introR .Into form .FR input[type="text"],
    .introR .Into form .FR input[type="email"],
    .introR .Into form .FR textarea {
        font-size: 14px;
        padding: 13px 13px;
        min-height: 50px;
    }
}

@media only screen and (max-width: 860px) {
    .introR .Into {
        padding: 18px 14px;
    }

    .introR .Into form .Bx2 {
        grid-template-columns: 1fr;
        row-gap: 8px;
        align-items: start;
    }

    .introR .Into form .FL {
        font-size: 14px;
    }

    .introR .Into form .FR span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 120px;
        min-height: 42px;
        line-height: 1;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .introR .Into form .FR .captcha-input {
        width: 100%;
        display: block;
        margin-top: 8px;
    }

    .introR .Into form .insubmit {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .introR .Into {
        border-radius: 10px;
        padding: 14px 10px;
    }

    .introR .Into form .Bx2 {
        margin-bottom: 10px !important;
    }

    .introR .Into form .FL {
        text-align: left;
        font-size: 13px;
        line-height: 1.35;
    }

    .introR .Into form .FR input[type="text"],
    .introR .Into form .FR input[type="email"],
    .introR .Into form .FR input[type="file"],
    .introR .Into form .FR textarea {
        font-size: 16px;
        min-height: 50px;
    }

    .introR .Into form .FR textarea {
        min-height: 120px;
    }

    .introR .Into form .FR span {
        min-height: 40px;
        line-height: 1;
        font-size: 17px;
    }

    .introR .Into form .insubmit {
        min-width: 0;
        min-height: 46px;
        padding: 11px 18px;
        font-size: 15px;
        line-height: 1.35;
    }
}

@media only screen and (max-width: 420px) {
    .introR .Into {
        padding: 12px 8px;
    }

    .introR .Into form .Bx1 {
        margin: 4px 0 10px 0 !important;
    }

    .introR .Into form .Bx2 {
        margin-bottom: 8px !important;
    }

    .introR .Into form .FR span {
        letter-spacing: 1px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
}
