.brand_Thanh_Tung{
    color:#ff5858;
}

.brand_Thanh_Loan{
    color:#1E50A2;
}

/* ================= GLOBAL ================= */

html,
body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
}

body{
    max-width:1500px;
    margin:0 auto;

    font-family:Arial, sans-serif;

    overflow-x:hidden;
    overflow-y:auto;

    background:#ffffff;
}

/* ================= HEADER ================= */

#khung_header{
    width:100%;
    height:200px;

    position:fixed;
    top:0;
    left:0;

    background:#fff;

    z-index:1000;

    display:flex;
    flex-direction:column;
    align-items:center;
}

#khung_social{
    width:1200px;
    height:150px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

#logo{
    width:200px;
    height:150px;
}

#logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* ================= SOCIAL ================= */

#social_media{
    width:400px;
    height:70px;

    margin-top:50px;
    margin-right:100px;

    border:2px solid #ff5858;
    border-radius:5px;

    background:#1E50A2;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:15px;

    padding:5px;

    box-sizing:border-box;
}

.logo_social{
    width:50px;
    height:50px;
}

.logo_social img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* ================= MENU ================= */

#khung_menu{
    width:1200px;
    height:50px;

    border:2px solid #ff5858;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 20px;

    box-sizing:border-box;
}

#khung_menu a{
    text-decoration:none;
}

.menu{
    width:180px;
    height:30px;

    border:2px solid #ff5858;
    border-radius:5px;

    background:#1E50A2;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

#khung_menu a:hover .menu p{
    color:#ff5858;
}

/* ================= BODY ================= */

#khung_body{
    width:1000px;

    margin:220px auto 50px auto;

    padding:20px;

    background:#f9f9f9;

    border:1px solid #ff5858;
    border-radius:5px;

    box-sizing:border-box;

    overflow:visible;
}

h1{
    text-align:center;
    margin-bottom:20px;
}

h2{
    text-align:center;
    margin-top:40px;
    margin-bottom:20px;
}

/* ================= WRAP ================= */

#wrap{
    width:100%;

    display:flex;
    flex-direction:row-reverse;

    justify-content:center;
    align-items:flex-start;

    gap:20px;

    overflow:visible;
}

/* ================= LEFT ================= */

#wrap_left{
    width:320px;

    display:flex;
    flex-direction:column;

    gap:10px;

    flex-shrink:0;
}

/* ================= QR ================= */

#qr{
    width:300px;
    height:300px;

    margin:auto;

    border:2px solid #ff5858;
    border-radius:10px;

    background:#000;

    overflow:hidden;
}

#qr img{
    width:100%;
    height:100%;

    display:block;

    object-fit:contain;
}

/* ================= HUONG DAN ================= */

#huong_dan{
    width:100%;

    padding:10px;

    box-sizing:border-box;

    border:2px solid #ff5858;
    border-radius:10px;

    background:#1E50A2;
    color:#fff;

    line-height:1.5;
    font-size:14px;

    word-break:break-word;
}

/* ================= CHAT ================= */

#popup_chat_ai{
    width:400px;

    border:2px solid #ff5858;
    border-radius:8px;

    background:#fff;

    display:flex;
    flex-direction:column;

    overflow:visible;

    position:relative;
    z-index:1;

    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

#popup_header{
    padding:10px;

    border-bottom:2px solid #ff5858;

    background:#1E50A2;
    color:#fff;

    display:flex;
    align-items:center;

    gap:15px;
}

#popup_header .avatar{
    width:50px;
    height:50px;

    border:2px solid #ff5858;
    border-radius:50%;

    overflow:hidden;
}

#popup_header .avatar img{
    width:100%;
    height:100%;

    object-fit:cover;
}

#popup_content{
    padding:10px;

    display:flex;
    flex-direction:column;
}

#hien_thi{
    height:400px;

    padding:10px;

    border:2px solid #ff5858;
    border-radius:3px;

    overflow-y:auto;

    background:#f9f9f9;

    box-sizing:border-box;
}

#nhap_du_lieu{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-top:10px;
}

#input_ai{
    width:300px;
    height:40px;

    padding:5px 10px;

    border:2px solid #ff5858;
    border-radius:5px;

    overflow-y:auto;

    transition:0.3s;
}

#input_ai:focus{
    outline:none;

    border-color:#1E50A2;

    box-shadow:0 0 8px rgba(0,191,255,0.5);
}

#send_data{
    width:50px;
    height:40px;

    cursor:pointer;
}

/* ================= MESSAGE ================= */

#user{
    max-width:70%;

    float:left;
    clear:both;

    margin:5px 0;

    padding:5px 10px;

    border-radius:10px;

    background:#ff5858;
    color:#fff;

    display:inline-block;
}

#thanh_loan{
    max-width:70%;

    float:right;
    clear:both;

    margin:5px 0;

    padding:5px 10px;

    border-radius:10px;

    background:#1E50A2;
    color:#fff;

    display:inline-block;
}

/* ================= FLOAT BUTTON ================= */

#khung_mes{
    position:fixed;

    left:50px;
    bottom:50px;

    z-index:10;

    padding:10px;

    border:3px solid #ff5858;
    border-radius:5px;

    background:#1E50A2;

    box-shadow:0 5px 20px rgba(0,0,0,0.3);
}

#nen_tang{
    display:flex;
    flex-direction:column;

    gap:10px;
}

#nen_tang img{
    width:50px;
    height:50px;

    display:block;
}

/* ================= TIKTOK ================= */

#video_tiktok_wrap{
    width:100%;

    margin-top:40px;

    display:block;

    overflow:visible;

    position:relative;
    z-index:1;
}

#video_tiktok{
    width:400px;
    height:740px;

    margin:auto;

    position:relative;

    overflow:visible;
}

#tiktok_iframe{
    width:100%;
    height:100%;

    border:none;

    display:block;

    position:relative;

    z-index:99999;

    pointer-events:auto;
}