/* 聯絡我們容器 */
.contact-container {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* 標題樣式 */
.contact-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    text-align: center;
}

/* 顧客訊息區塊 */
.contact-message {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px;
    padding: 15px;
    background-color: #ffffff;
    border-left: 5px solid #007BFF;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 聯絡表單 */
.contact-form {
    max-width: 600px;
    margin: 0 auto 20px;
}

/* 聯絡表單一般樣式 */
.contact-form label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}
/* 必填備註 */
.required-note {
    font-size: 14px;
    color: #dc3545;
    margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
    resize: vertical; /* 允許垂直調整大小 */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
    outline: none;
}
/* 性別按鈕 */
.gender {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.gender label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.gender input[type="radio"] {
    margin-right: 5px;
}
/* 提交按鈕 */
.contact-form button[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* 聯絡方式部分 */
.contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 5px 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .contact-container h2 {
        font-size: 20px;
    }

    .contact-message {
        font-size: 14px;
    }

    .contact-form button[type="submit"] {
        font-size: 14px;
    }
}




.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.contact-form-section,
.contact-info-section {
    flex: 1 1 calc(50% - 20px); /* 左右各佔一半空間，減去間距 */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 聯絡表單 */
.contact-form-section {
    max-width: 100%; /* 防止超出父容器 */
}

.contact-form-section h3,
.contact-info-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-section p {
    margin: 10px 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form-section,
    .contact-info-section {
        flex: 1 1 100%;
    }
}




.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px; /* 圖片和按鈕之間的距離 */
    margin-bottom: 15px;
}

.captcha-container img {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 50px;
}

.captcha-container .reload-captcha {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.captcha-container .reload-captcha:hover {
    background-color: #0056b3;
}
