/* Tùy chỉnh Form */
.form-section {
    /* Giảm padding-top vì body đã có padding cho header fixed */
    padding: 40px 0 60px;
    background-color: #fcf8f5; /* Nền nhẹ nhàng */
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #b77b4b; /* Viền nổi bật */
}
.form-title {
    text-align: center;
    color: #b77b4b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.form-subtitle {
    text-align: center;
    color: #6b5440;
    font-size: 16px;
    margin-bottom: 30px;
}
.form-group label {
    font-weight: 600;
    color: #4b3d30;
    margin-bottom: 5px;
}
.form-control {
    border-radius: 4px;
    height: 45px;
    border: 1px solid #e7dfd6;
    box-shadow: none;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #b77b4b;
    box-shadow: 0 0 5px rgba(183, 123, 75, 0.3);
}

/* Box cho câu hỏi đa lựa chọn/độc quyền */
.choice-box {
    padding: 15px;
    border: 1px dashed #d4b063;
    border-radius: 4px;
    margin-bottom: 25px;
    background-color: #fff9f6;
}
.choice-box h4 {
    color: #bc6c25;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e7dfd6;
    padding-bottom: 5px;
}

/* Tùy chỉnh Radio và Checkbox - sử dụng cho custom HTML */
.custom-radio, .custom-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 400;
    color: #4b3d30;
    margin-right: 20px;
    margin-bottom: 10px; /* Thêm để checkbox/radio không dính nhau */
}

/* Ẩn nút input mặc định */
.custom-radio input, .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Tạo checkmark/dot tùy chỉnh */
.custom-radio .checkmark, .custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px; 
}

/* Style cho Radio */
.custom-radio .checkmark {
    border-radius: 50%; /* Tròn cho Radio */
}

/* Khi di chuột qua (hover) */
.custom-radio:hover input ~ .checkmark,
.custom-checkbox:hover input ~ .checkmark {
    background-color: #ddd;
}

/* Khi được chọn (checked) */
.custom-radio input:checked ~ .checkmark,
.custom-checkbox input:checked ~ .checkmark {
    background-color: #b77b4b;
    border-color: #b77b4b;
}

/* Tạo Dot (chấm) cho Radio */
.custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Hiển thị Dot (chấm) khi Radio được chọn */
.custom-radio input:checked ~ .checkmark:after {
    display: block;
}

/* Kiểu của Dot (chấm) */
.custom-radio .checkmark:after {
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/* Tạo Checkmark (dấu tick) cho Checkbox */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Hiển thị Checkmark (dấu tick) khi Checkbox được chọn */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Kiểu của Checkmark (dấu tick) */
.custom-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Nút gửi */
.btn-submit {
    background-color: #b77b4b;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 20px;
}
.btn-submit:hover {
    background-color: #8f5b2f;
    color: white;
}