/* --- 通用表單頁面樣式 --- */
/* 介紹頁 (openselect.htm) */
.form-intro-container {
    display: flex;
    gap: 30px;
    align-items: center;
}
.intro-text {
    flex: 1;
}
.intro-text h1 { color: #c2242d; margin-top: 0; }
.intro-text h2 { color: #333; margin-top: 20px; }
.intro-text p, .intro-text li { line-height: 1.8; }
.intro-image {
    flex: 1;
    max-width: 400px;
}
.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* 表單頁 (eopn_two.aspx, contact.aspx) */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
}
.form-container h1 {
    text-align: center;
    color: #c2242d;
    margin-bottom: 10px;
}
.form-container .subtitle {
    text-align: center;
    color: #FF5050;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.form-group label {
    display: block;
    width: 120px;
    font-weight: bold;
    flex-shrink: 0;
}
.form-group input[type="text"], 
.form-group input[type="tel"], 
.form-group input[type="email"], 
.form-group select,
.form-group textarea {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
}
.form-group textarea {
    min-height: 120px;
}

.captcha-group .captcha-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-controls input {
    width: 80px !important;
}
.captcha-controls img {
    cursor: pointer;
    vertical-align: middle;
}
.audio-btn {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 4px;
}

.disclaimer {
    font-size: 0.9em;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}
.styled-button {
    padding: 12px 30px;
    background-color: #c2242d;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.styled-button:hover {
    background-color: #a01c23;
}

/* RWD */
@media (max-width: 768px) {
    .form-intro-container { flex-direction: column-reverse; }
    .intro-image { max-width: 250px; }
    .form-group { flex-direction: column; align-items: flex-start; }
    .form-group label { width: 100%; margin-bottom: 5px; }
    .form-group input, .form-group select, .form-group textarea, .captcha-group .captcha-controls { width: 100%; }
}