/* Tổng thể */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
}

/* Thanh Header */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #00796b; /* Màu xanh dịu nhẹ */
    padding: 3px 9px; /* Tăng padding để thanh header lớn hơn */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Thêm bóng mờ nhẹ */
    font-size: 46px; /* Thanh header lớn hơn tiêu đề */
    height: 80px; /* Tăng chiều cao của thanh header */
    margin-bottom: 1px; /* Giảm khoảng cách giữa header và khung dưới */
}

/* Khối Logo và text */
.logo-and-text {
    display: flex;
    align-items: center;
}

.logo-and-text img {
    height: 80px; /* Tăng chiều cao logo */
    margin-right: 20px; /* Giảm khoảng cách */
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    line-height: 1.3;
}

.header-text .line1 {
    font-size: 18px; /* Giảm kích thước chữ */
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px; /* Khoảng cách chữ */
}

.header-text .line2 {
    font-size: 14px; /* Giảm kích thước chữ */
    text-align: center;
    margin-top: 5px;
    letter-spacing: 0.5px; /* Khoảng cách chữ */
}

/* Tiêu đề chính */
.main-title {
    font-size: 40px; /* Giữ tiêu đề nhỏ hơn thanh header */
    font-weight: bold;
    color: #ff4081; /* Màu hồng nhẹ cho tiêu đề */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2); /* Bóng đổ nhẹ */
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif; /* Font chữ đẹp */
    letter-spacing: 2px; /* Khoảng cách chữ */
    text-align: center;
    margin: 0 50px; /* Giảm khoảng cách từ các cạnh */
}

/* Bảng lịch làm việc */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #009688;
    color: white;
    font-size: 16px;
}

td {
    background-color: #ffffff;
    font-size: 14px;
    color: #555;
}

/* Hiệu ứng hover cho các dòng trong bảng */
tr:hover {
    background-color: #f1f1f1;
}

/* Nút đăng nhập */
button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Đảm bảo tính linh hoạt */
@media screen and (max-width: 768px) {
    .header-bar {
        flex-direction: column;
        align-items: center;
        height: 70px; /* Giảm chiều cao cho thiết bị di động */
        margin-bottom: 1px; /* Giảm khoảng cách cho thiết bị di động */
    }
    .logo-and-text {
        margin-bottom: 20px;
        text-align: center;
    }
    .main-title {
        font-size: 30px;
        margin-top: 20px;
    }
    table {
        font-size: 12px;
    }
    th, td {
        padding: 8px;
    }
}