/* FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');



/* RESET */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:'Poppins', sans-serif;

}



/* BODY - STICKY FOOTER */

body{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    background:#f5f7fb;

    color:#333;

}



/* HEADER */

header{

    position:sticky;

    top:0;

    z-index:1000;



    display:flex;

    justify-content:space-between;

    align-items:center;



    padding:15px 5%;

    background:#2563eb;

    flex-wrap:wrap;

}



/* TITLE */

header h1{

    color:#ffffff;

    font-size:clamp(18px, 2.2vw, 28px);

}



/* NAV */

nav{

    display:flex;

    gap:16px;

    flex-wrap:wrap;

}




nav a{

    color:#fff;

    text-decoration:none;

    font-size:clamp(12px, 1.2vw, 16px);

    position:relative;

}



/* underline effect */

nav a::after{

    content:'';

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:2px;

    background:#fff;

    transition:.3s;

}



nav a:hover::after{

    width:100%;

}



/* MAIN */

.container{

    flex:1;

    width:100%;

    max-width:1200px;

    margin:30px auto;

    padding:0 16px;

}



/* CARD */

.card{

    background:#fff;

    border-radius:16px;

    padding:24px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    text-align:center;

    transition:.3s;

}



.card:hover{

    transform:translateY(-4px);

}



/* AVATAR */

.avatar{

    width:160px;

    height:160px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #2563eb;

}



/* TEXT */

.card h2{

    color:#2563eb;

    font-size:clamp(18px, 2vw, 28px);

}



.card p{

    color:#666;

}



/* TABLE */

table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}



th{

    background:#2563eb;

    color:#fff;

}



th, td{

    padding:12px;

    text-align:center;

}



/* TEACHERS GRID */

.teacher-list{

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));

    gap:18px;

}



.teacher-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.teacher-card:hover{

    transform:translateY(-6px);

}



.teacher-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}



/* BRANCH */

.branch{

    background:#fff;

    padding:20px;

    border-radius:16px;

    margin-bottom:16px;

    border-left:4px solid #2563eb;

    transition:.3s;

}



.branch:hover{

    transform:translateX(5px);

}



/* BUTTON */

.btn{

    display:inline-block;

    padding:10px 18px;

    background:#2563eb;

    color:#fff;

    border-radius:10px;

    text-decoration:none;

}



/* SCHEDULE */

.schedule{

    display:flex;

    flex-direction:column;

    gap:10px;

}



.lesson{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

}



.lesson-header{

    background:#2563eb;

    color:#fff;

    padding:14px;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

}



/* FOOTER - CHUẨN */

footer{

    margin-top:auto;

    background:#0f172a;

    color:#fff;

    text-align:center;

    padding:14px;

}

/* arrow animation */

.arrow{

    display:inline-block;

    transition: transform .3s ease;

}



/* xoay mũi tên */

.rotate{

    transform: rotate(180deg);

}



/* schedule animation mượt */

.lesson-content{

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease, padding .3s ease;

    padding:0 12px;

}



/* =========================

   📱 MOBILE

========================= */

@media(max-width:768px){



    header{

        flex-direction:column;

        text-align:center;

        gap:10px;

    }



    nav{

        justify-content:center;

    }



    .avatar{

        width:120px;

        height:120px;

    }



    .card{

        padding:18px;

    }



    th, td{

        padding:8px;

        font-size:13px;

    }

}



/* =========================

   💻 TABLET

========================= */

@media(min-width:769px) and (max-width:1024px){



    .container{

        max-width:900px;

    }



    .avatar{

        width:140px;

        height:140px;

    }

}



/* =========================

   🖥 DESKTOP

========================= */

@media(min-width:1025px){



    .container{

        max-width:1200px;

    }

    .map{
    width:90%;
    max-width:1200px;
    margin:40px auto;
}

.map h2{
    text-align:center;
    margin-bottom:20px;
}

.map iframe{
    width:100%;
    border-radius:12px;
}
.logout-btn{
    background:#f0e3e3;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
}

.logout-btn:hover{
    background:#e0d2d3;
}
    .eye-btn{
    background:none;
    border:none;
    cursor:pointer;
    font-size:18px;
    margin-left:8px;
    vertical-align:middle;
}

.eye-btn:hover{
    transform:scale(1.1);
}
}
