/* Thiết lập mặc định */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f5f7; /* Màu nền xám nhạt */
    color: #333;
}

/* --- Header (Thanh điều hướng) --- */
.navbar {
    background-color: #ffe600; /* Màu vàng đặc trưng Yostar */
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    font-weight: bold;
}

.logo-img {
    width: 32px;         /* Chiều rộng bằng kích thước biểu tượng cũ */
    height: 32px;        /* Chiều cao bằng kích thước biểu tượng cũ */
    object-fit: contain; /* Giúp ảnh không bị méo khi co giãn */
}

/* Nút chọn ngôn ngữ */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Bố cục chính --- */
.main-container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start;
}

/* --- Sidebar (Menu bên trái) --- */
.sidebar {
    background-color: #fff;
    width: 240px;
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border-radius: 2px;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    color: #777;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-links li a {
    display: block;
    padding: 16px 30px;
    color: inherit;
    text-decoration: none;
}

.nav-links li:hover {
    color: #333;
}

/* Item đang được chọn */
.nav-links li.active {
    border-left: 4px solid #ffe600;
    color: #111;
    font-weight: bold;
}

.nav-links li.active a {
    padding-left: 26px; /* Bù lại 4px của viền bên trái */
}

/* --- Content (Nội dung chính) --- */
.content {
    background-color: #fff;
    flex: 1;
    padding: 60px 80px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border-radius: 2px;
    min-height: 800px;
}

.content h1 {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 28px;
    margin-bottom: 40px;
}

.content p {
    font-family: "Times New Roman", Times, serif;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 24px;
}

.content .section-title {
    font-weight: bold;
    color: #111;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 16px;
}

/* --- Footer (Chân trang dùng chung) --- */
.footer {
    background-color: #000000; /* Nền đen tuyền */
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 13px;
    width: 100%;
    margin-top: 50px; /* Tạo khoảng cách với nội dung phía trên */
}

.footer-links {
    margin-bottom: 12px;
}

/* Định dạng các đường dẫn ở chân trang */
.footer-links a {
    color: #888888; /* Màu chữ xám mờ */
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 4px;
}

/* Hiệu ứng sáng lên khi di chuột vào link */
.footer-links a:hover {
    color: #ffffff; 
}

/* Thanh dấu gạch đứng phân cách */
.footer .separator {
    color: #444444;
    margin: 0 4px;
}

/* Dòng chữ bản quyền */
.footer .copyright {
    color: #888888;
    margin: 0;
}

/* --- CSS Định dạng biểu mẫu hỗ trợ (Contact CS) --- */
.cs-form {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

/* Định dạng nhãn text phía trên ô input */
.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #111111;
    margin-bottom: 10px;
}

/* Định dạng chữ (Required) màu đỏ */
.form-group label .required {
    color: #ff4d4f;
    font-weight: normal;
    margin-left: 4px;
}

/* Định dạng nhãn không bắt buộc (Attached files) */
.form-group .label-normal {
    font-weight: normal;
    color: #333333;
}

/* Thao tác chung cho ô Input, Select box, Textarea */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    font-family: Arial, sans-serif;
    transition: border-color 0.2s;
}

/* Hiệu ứng khi click chuột vào ô điền */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ffe600;
}

/* Chỉnh riêng mũi tên và màu chữ placeholder cho thẻ Select */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23cccccc' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* Khống chế kéo dãn tự do của textarea */
.form-group textarea {
    resize: vertical;
}

/* Vùng giả lập kéo thả tệp đính kèm */
.upload-zone {
    border: 1px dashed #cccccc;
    background-color: #fafafa;
    border-radius: 4px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.upload-zone:hover {
    background-color: #f5f5f5;
}

.upload-icon {
    margin-bottom: 8px;
}

.upload-text-main {
    font-size: 14px;
    color: #aaaaaa;
    margin-bottom: 4px !important;
}

.upload-text-sub {
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 0 !important;
}

/* Đoạn text chú thích định dạng file hỗ trợ bên dưới */
.upload-hints {
    margin-top: 10px;
}

.upload-hints p {
    font-size: 12px;
    color: #aaaaaa;
    margin-bottom: 4px !important;
    line-height: 1.4;
}

/* Nút bấm Gửi hỗ trợ màu vàng */
.send-btn {
    background-color: #ffe600;
    color: #000000;
    border: none;
    border-radius: 4px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    max-width: 460px; /* Độ rộng tối đa nút bấm vừa vặn */
    margin: 10px auto 0 auto; /* Căn giữa nút */
    transition: opacity 0.2s;
}

.send-btn:hover {
    opacity: 0.9;
}