header {
    background-image: url('../images/satra-header.jpg');
    background-repeat: repeat-x;
    /* Lặp lại hình ảnh theo chiều ngang */
    min-height: 9vh;
    /* Chiều cao mong muốn của header */
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-size: auto 100%;
    /* Chiều cao tự động, chiều rộng 100% (có thể gây méo ảnh) */
}

body {
    font-size: clamp(10px, 0.6vw, 20px);
    /* font-family: sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    padding-bottom: 50px;
}

.parallax {
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

footer {
    background-color: #222;
    color: #fff;
    font-size: clamp(10px, 0.7vw, 20px);
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    margin: 0.7vw 0;
}

footer i {
    color: red;
}

footer a {
    color: #3c97bf;
    text-decoration: none;
}

/* CSS cho menu ngang */
.horizontal-menu {
    background-color: #343a40;
    /* Màu nền giống navbar */
    display: flex;
    /* Sử dụng Flexbox để sắp xếp các mục ngang hàng */
    flex-direction: row;
    /* Đảm bảo các mục được xếp theo hàng */
    list-style: none;
    /* Loại bỏ dấu chấm mặc định của danh sách */
    padding: 0;
    /* Loại bỏ padding mặc định của ul */
    margin: 0;
    /* Loại bỏ margin mặc định của ul */
}

/* .horizontal-menu .nav-item {
     Không cần thiết lập width cố định ở đây để các mục tự điều chỉnh 
} */

.horizontal-menu .nav-link {
    color: white;
    padding: clamp(6px, 0.4vw, 10px) clamp(5px, 0.3vw, 15px);
    text-decoration: none;
    display: block;
    /* Vẫn giữ display block để dễ dàng tạo vùng click cho liên kết */
    font-size: clamp(10px, 0.7vw, 20px);
    /* Đặt kích thước phông chữ là 0.7vw */
}

.horizontal-menu .nav-link:hover {
    background-color: white;
    /* Màu nền khi hover */
}

.horizontal-menu .nav-link.active {
    background-color: #007bff;
    /* Màu nền cho mục hiện tại (nếu cần) */
    color: white;
}

/* Ẩn menu con mặc định */
.dropdown-menu {
    display: none;
    position: absolute;
    /* Để định vị menu con so với mục cha */
    z-index: 999;
    /* Đảm bảo menu con nằm trên các phần tử khác */
    /* Các kiểu dáng khác cho menu con (ví dụ: background-color, border) */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
    font-size: clamp(10px, 0.7vw, 20px);
    /* Đặt kích thước phông chữ là 0.7vw */
}

/* Hiển thị menu con khi di chuột vào mục cha (.dropdown) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Định vị menu con (tùy chỉnh nếu cần) */
.dropdown {
    position: relative;
    /* Để làm điểm tham chiếu cho menu con absolute */
}

/* Các kiểu dáng khác cho các mục menu (nếu cần) */
.nav-link {
    cursor: pointer;
    /* Hiển thị con trỏ chuột kiểu "bàn tay" khi di chuột qua liên kết có dropdown */
}

.container-center {
    width: clamp(550px, 80vw, 1200px);
    ;
    /* Điều chỉnh độ rộng container nếu cần */
    margin: 5px auto 20px auto;
    padding: 20px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.content-full {
    margin-top: 0.1vw;
    margin-left: 0.7vw;
    margin-right: 0.7vw;
    margin-bottom: 1vw;
}

.content-center {
    width: clamp(500px, 80vw, 550px);
    margin: 5px auto 20px auto;
    padding: clamp(10px, 1vw, 20px);
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.925);
}

.content {
    /* Các thuộc tính khác của .content */
    margin-top: 0.1vw;
    margin-left: 0.7vw;
    margin-right: 0.7vw;
    margin-bottom: 1vw;
    ;
    display: block;
    /* Đảm bảo là block-level element */
    /* Các thuộc tính hiện tại của bạn */
    display: flex;
    justify-content: center;

}

.tieude {
    display: block;
    /* Đảm bảo là block-level element */
    /* Các thuộc tính hiện tại của bạn */
    display: flex;
    justify-content: center;

}

.tieude h1 {
    font-size: clamp(50px, 2.5vw, 200px);
    font-weight: bold;
    padding-top: 1vw;
}

.tieude h2 {
    font-size: clamp(20px, 1.8vw, 80px);
    font-weight: bold;
    padding-top: 1vw;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

/* Bảng cơ bản */
.table-custom {
    border-collapse: collapse;
    width: 100%;
}

/* Header */
.table-custom thead {
    background-color: #007bff;
    color: #fff;
}

/* Header & ô dữ liệu không wrap */
.table-custom th,
.table-custom td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
    border: 1px solid #ddd;
}

/* Xen kẽ màu dòng */
.table-custom tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-custom tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Highlight giá trị tìm kiếm */
.mark-highlight {
    background-color: yellow;
    color: red;
    font-weight: bold;
}

/* Hover dòng */
.table-custom tbody tr:hover {
    background-color: #ffeeba;
}


.notification-bar {
    width: 100%;
    background: #fff;       /* nền trắng */
    color: #e11d48;         /* chữ đỏ */
    padding: 5px 0;
    font-weight: bold;
    font-size: 14px;
    position: fixed; /* cố định đầu trang */
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid #e11d48; /* thêm đường gạch đỏ cho nổi bật */
}
.notification-link {
    color: #e11d48;        /* link cũng đỏ */
    text-decoration: none;
}
.notification-link:hover {
    text-decoration: underline;
}
body {
    padding-top: 30px; /* tránh che mất nội dung khi có banner */
}


.login-container {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-input {
    width: 300px;
}

.form-label {
    font-weight: bold;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 13px;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem; /* to gấp 3 lần */
}
