html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: linear-gradient(180deg, #e74c3c, #c0392b);
}

.menu-content {
    width: 250px;
    height: 100%; /* Chiều cao 100% của viewport */
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Thêm thanh cuộn dọc khi nội dung vượt quá chiều cao */
}

/* Tùy chỉnh thanh cuộn */
.menu-content::-webkit-scrollbar {
    width: 8px; /* Độ rộng thanh cuộn */
}

.menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* Màu nền của thanh cuộn */
    border-radius: 4px;
}

.menu-content::-webkit-scrollbar-thumb {
    background: #f1c40f; /* Màu của thanh cuộn */
    border-radius: 4px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: #d4ac0d; /* Màu khi hover */
}

.menu-content h2 {
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.menu-content h2 i {
    margin-right: 10px;
    color: #f1c40f;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li {
    margin: 10px 0;
}

.menu-content ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-content ul li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #f1c40f;
}

.menu-content ul li a:hover {
    background: rgba(241, 196, 15, 0.3);
    color: #fff;
    transform: translateX(5px);
}

.menu-content ul li a:hover i {
    color: #fff;
}

/* CSS cho phần Xin chào */
.welcome {
    color: #ffd700; /* Màu vàng nhạt nổi bật */
    font-size: 1.3em;
    font-style: italic; /* Chữ nghiêng */
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #555;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Hiệu ứng bóng nhẹ */
}

/* CSS cho dropdown */
.dropdown .dropdown-content {
    max-height: 0; /* Ẩn bằng cách đặt chiều cao tối đa là 0 */
    opacity: 0; /* Ẩn bằng opacity cho fade-in */
    transform: translateY(-10px); /* Trượt lên nhẹ khi ẩn */
    overflow: hidden; /* Ẩn nội dung vượt quá */
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease; /* Hiệu ứng mượt */
    padding: 0;
}

.dropdown:hover .dropdown-content {
    max-height: 600px; /* Chiều cao tối đa, điều chỉnh nếu cần */
    opacity: 1; /* Hiện ra với fade-in */
    transform: translateY(0); /* Trượt về vị trí ban đầu */
    padding: 10px 0; /* Thêm padding khi hiển thị */
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content li a {
    padding: 10px 30px; /* Thụt đầu dòng để phân biệt với menu chính */
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1); /* Nền nhạt hơn để phân cấp */
}