/* Week 5 - Turn 1 - Mã đề E: Đăng ký khóa học ngoại ngữ */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; background: #faf5ff; color: #581c87; }
header.trang-header { background: #7e22ce; color: #ffffff; padding: 22px 28px; }
header.trang-header h1 { margin: 0 0 6px; font-size: 1.5rem; }
header.trang-header p { margin: 0; color: #f3e8ff; }
nav.dieu-huong-nho { padding: 10px 28px; background: #f3e8ff; }
nav.dieu-huong-nho a { color: #7e22ce; margin-right: 14px; text-decoration: none; font-weight: 600; }
nav.dieu-huong-nho a:hover { text-decoration: underline; }
main { max-width: 980px; margin: 0 auto; padding: 24px 20px 48px; }
div.gioi-thieu-khoa-hoc, div.giai-trinh-ngoai-ngu {
  background: #ffffff; border: 1px solid #e9d5ff; border-radius: 8px; padding: 18px 22px; margin-bottom: 22px;
}
div.gioi-thieu-khoa-hoc h2, div.giai-trinh-ngoai-ngu h2 { color: #7e22ce; margin-top: 0; }
form.form-dang-ky { background: #ffffff; border: 1px solid #e9d5ff; border-radius: 10px; padding: 22px; margin-bottom: 22px; }
.danh-sach-buoc { display: flex; flex-wrap: wrap; gap: 20px; }
section.buoc-1, section.buoc-2, section.buoc-3, section.buoc-4 {
  flex: 1 1 220px; border: 1px solid #d8b4fe; border-radius: 8px; padding: 16px; background: #fdf4ff;
  display: flex; flex-direction: column;
}
h4 { margin: 0 0 4px; font-size: 1rem; color: #7e22ce; }
p.mo-ta-buoc { margin: 0 0 12px; font-size: 0.82rem; color: #9333ea; }
.o-hoc-vien { margin-bottom: 12px; display: flex; flex-direction: column; }
.o-hoc-vien label { margin-bottom: 5px; font-weight: 600; font-size: 0.88rem; }
.o-hoc-vien input, .o-hoc-vien textarea {
  padding: 8px 10px; border: 1px solid #d8b4fe; border-radius: 6px; font-family: inherit; font-size: 0.92rem;
}
.o-hoc-vien input[type="range"] { padding: 0; cursor: pointer; }
.o-hoc-vien input[type="color"] { padding: 2px; height: 38px; cursor: pointer; }
.o-hoc-vien input:focus, .o-hoc-vien textarea:focus {
  outline: none; border-color: #7e22ce; box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.25); background: #ffffff;
}
.nhom-radio, .nhom-checkbox { margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.nhom-radio span, .nhom-checkbox span { font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; }
.nhom-radio label, .nhom-checkbox label { font-weight: normal; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.nhom-radio input, .nhom-checkbox input { cursor: pointer; }
.nhom-radio input:focus, .nhom-checkbox input:focus { outline: 2px solid #7e22ce; }
.nut-gui {
  margin-top: auto; background: #7e22ce; color: #ffffff; border: none; padding: 12px 20px;
  border-radius: 6px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.nut-gui:hover { background: #6b21a8; }
.nut-gui:focus { outline: 3px solid #c084fc; outline-offset: 2px; }
table.bang-giai-trinh { width: 100%; border-collapse: collapse; }
table.bang-giai-trinh th, table.bang-giai-trinh td { border: 1px solid #e9d5ff; padding: 9px 12px; text-align: left; font-size: 0.9rem; }
table.bang-giai-trinh th { background: #7e22ce; color: #ffffff; }
table.bang-giai-trinh tr:nth-child(even) td { background: #faf5ff; }
footer.trang-footer { text-align: center; padding: 16px; color: #7e22ce; font-size: 0.85rem; }
