﻿/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
    font-family: Arial, sans-serif;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    object-fit: contain;
}

.title h2 {
    margin-bottom: 5px;
    font-size: 18px;
    color: #004b87;
}

.title h3 {
    font-size: 16px;
    color: red;
}


.top-right {
    font-size: 14px;
    text-align: right;
}

/* ===== MENU ===== */
.main-menu {
    background-color: #111;
}

    .main-menu ul {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

        .main-menu ul li {
            margin: 0 15px;
        }

            .main-menu ul li a {
                color: white;
                text-decoration: none;
                font-weight: bold;
                text-transform: uppercase;
            }

                .main-menu ul li a:hover {
                    color: orange;
                }

/* ===== BANNER ===== */
.banner {
    width: 100%;
    overflow: hidden;
}

    .banner img {
        width: 100%;
        height: auto;
        display: block;
        transition: opacity 0.5s ease-in-out;
    }

/* ===== BODY ===== */
.body-content {
    padding: 30px;
    background-color: #f9f9f9;
}

/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background-color: #f4f4f4; /* tránh nền trắng gây lộ */
}

    .banner-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top; /* hoặc center center nếu phù hợp hơn */
        transition: opacity 1s ease;
        opacity: 0;
        z-index: 0;
    }

        .banner-container img.active {
            opacity: 1;
            z-index: 1;
        }

/* Nút chuyển ảnh trái/phải */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    color: #000;
    z-index: 10;
    transition: background-color 0.3s;
}

    .nav-button:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
/* ===== BỐ CỤC CHUNG ===== */
.main-layout {
    display: flex;
    gap: 40px;
    padding: 30px 60px;
}

.left-panel {
    flex: 3;
}

.right-panel {
    flex: 1;
}

/* ===== TRUY CẬP NHANH ===== */
.quick-access {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
}

.quick-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid #007acc;
    padding-left: 10px;
    color: #007acc;
    text-transform: uppercase;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #004085;
    background-color: #f5f9ff;
    border: 1px solid #cce5ff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .quick-item:hover {
        background-color: #dbefff;
    }

    .quick-item .emoji {
        font-size: 18px;
        width: 24px;
        text-align: center;
    }
/*Trang chủ sinh vien*/
.student-home {
    padding: 30px;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

    .student-home h2 {
        font-size: 28px;
        color: #004085;
        margin-bottom: 20px;
    }

    .student-home h3 {
        font-size: 22px;
        color: #0069d9;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .student-home p, .student-home ol {
        font-size: 16px;
    }

    .reminder-table, .student-home table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

        .reminder-table th,
        .reminder-table td,
        .student-home table th,
        .student-home table td {
            border: 1px solid #ddd;
            padding: 10px 12px;
            text-align: center;
        }

        .reminder-table th,
        .student-home table thead th {
            background-color: #f0f4f8;
            color: #333;
            font-weight: 600;
        }

    .student-home ol {
        padding-left: 20px;
    }

        .student-home ol li {
            margin-bottom: 10px;
        }

    .student-home strong {
        color: #000;
    }
/**/
.booking-form {
    max-width: 700px;
    margin: auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

    .booking-form label {
        display: block;
        margin: 15px 0 5px;
        font-weight: bold;
    }

    .booking-form input,
    .booking-form textarea,
    .booking-form select {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .booking-form button {
        margin-top: 20px;
        padding: 12px 25px;
        background-color: #007acc;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

.room-info {
    margin-top: 20px;
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
}

    .room-info img.room-image {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 10px;
    }
/*DatPhong*/
.card {
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }
