/* =================================================
   COMMON CSS - ใช้ร่วมกันทั้ง Dark & Light Mode
   ================================================= */

@font-face{
    font-family: Kanit-Light;
    src:url('../Font/Kanit-Light.ttf');
}
@font-face{
    font-family: Kanit-Regular;
    src:url('../Font/Kanit-Regular.ttf');
}
@font-face{
    font-family: Poppins-Light;
    src:url('../Font/Poppins/Poppins-Light.ttf');
}
@font-face{
    font-family: Poppins-ExtraLight;
    src:url('../Font/Poppins/Poppins-ExtraLight.ttf');
}
@font-face{
    font-family: Poppins-Medium;
    src:url('../Font/Poppins/Poppins-Medium.ttf');
}
@font-face{
    font-family: IBMPlexSansThai-Light;
    src:url('../Font/IBM_Plex_Sans_Thai/IBMPlexSansThai-Light.ttf');
}
@font-face{
    font-family: IBMPlexSansThai-Medium;
    src:url('../Font/IBM_Plex_Sans_Thai/IBMPlexSansThai-Medium.ttf');
}

/* Loading Page Styles */ 
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
    animation: logoFadeOut 2s ease-in-out infinite;
}

.loader-logo img {
    filter: brightness(0) invert(1);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.loader-text {
    margin-top: 20px;
    color: #ffffff;
    font-family: 'Kanit-Light', sans-serif;
    font-size: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 1.5s ease-in-out infinite;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .loader-logo {
        width: 80px;
        height: 80px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .loader-text {
        font-size: 14px;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .loader-logo {
        width: 70px;
        height: 70px;
    }
    
    .loader-text {
        font-size: 13px;
    }
}

html { 
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -300;
}

/* Fix background zoom issue on mobile when keyboard appears */
@media screen and (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size: cover;
    }
}

input {
    outline: 0;
    font-family: IBMPlexSansThai-Light;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(31, 31, 31, 1) inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

input::placeholder {
    color: #ffffff;
    font-size:12pt;
    font-family: IBMPlexSansThai-Light;
}

/* Video Background */
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    width:100%;
    min-width: 100%;
    min-height: 100%;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 0px;
}

.scrollable-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Common Utility Classes */
.sayhi{
    font-family: Poppins-ExtraLight; 
    font-size:24pt; 
    color:#ffffff;
    animation-name:filterfade;
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

.blur {
    -webkit-backdrop-filter: blur(60 px) !important;
    -moz-backdrop-filter: blur(60px) !important;
    backdrop-filter: blur(60px) !important;
}

/* Container & Layout Elements */
.input-login{
    background:none; 
    width:95%; 
    background: transparent;
    height:48px; 
    border:none; 
    color:#fff; 
    font-size:13pt;
}

.bg_input_login{
    width:70%; 
    height:50px; 
    background:rgba(31, 31, 31,0.9); 
    border-radius:10px; 
    border-bottom:2px solid rgba(45, 136, 255, 1);
    border-top:2px solid rgba(156, 156, 156, 0.9);
    border-left:2px solid rgba(156, 156, 156, 0.9);
    border-right:2px solid rgba(156, 156, 156, 0.9);
}

.btn_icon_login{
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2D88FF 0%, #5BC1FF 100%);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(45,136,255,0.18), inset 0 -3px 6px rgba(0,0,0,0.08);
    transition: background .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn_icon_login:hover{
    background: linear-gradient(135deg, #3A9BFF 0%, #7EE0FF 100%);
}

.text_alert{
    opacity: 1;
    animation-name:show_text_alert;
    animation-duration: 4s;
    animation-fill-mode: both;
}

.btn_other_account{
    font-family: Poppins-Light; 
    font-size:11pt; 
    color:#fff; 
    cursor:pointer; 
    padding-bottom:4px;
    position: relative;
    display: inline-block;
}
.btn_other_account::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 2px;
    background: #fff;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.32s cubic-bezier(.2,.8,.2,1), opacity 0.32s;
    opacity: 0;
    border-radius: 2px;
}
.btn_other_account:hover::after{
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.other_account_btn{
    font-family: IBMPlexSansThai-Light;
    font-size:11pt; 
    color:rgba(255,255,255,0.6);
    cursor:pointer; 
    padding-bottom:4px;
    position: relative;
    display: inline-block;
}
.other_account_btn:hover{
    color: #fff;
}

/* Background & Filter Effects */
.bgfilter{
    position:fixed; 
    top:0; 
    left:0; 
    height:100%; 
    width:100%; 
    z-index:100;
    opacity:1;
    pointer-events: auto;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    background: linear-gradient(to bottom,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.4) 20%,
            rgba(0,0,0,0.15) 40%,
            rgba(0,0,0,0) 100%);
    animation-name: filterfadein;
    animation-duration: 2s;
    animation-fill-mode: both;
}

.bgfilter_fade{
    position:fixed; 
    top:0; 
    left:0; 
    height:100%; 
    width:100%; 
    z-index:100;
    opacity:1;
    pointer-events: auto;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    background: linear-gradient(to bottom,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.4) 20%,
            rgba(0,0,0,0.15) 40%,
            rgba(0,0,0,0) 100%);
    animation-name: filterfade;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.bgfilter_login{
    position:fixed; 
    top:0px; 
    left:0px; 
    height:100%; 
    width:100%; 
    z-index:100;
    opacity:1;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.7) 15%,
        rgba(0,0,0,0.4) 35%,
        rgba(0,0,0,0) 100%);
}

/* Clock Styles */
.in_clock{
    font-family: Poppins-Medium;
    font-size:84pt; 
    color:#ffffff;
    animation-name:fade_clock;
    animation-duration:1s;
    animation-fill-mode: both;
}

.in_clock_date{
    font-family: IBMPlexSansThai-Medium;
    font-size:16pt; 
    margin-top:-25px; 
    color:#ffffff;
    animation-name:fade_clock;
    animation-duration:1s;
    animation-fill-mode: both;
}

.clock-container {
    position: absolute;
    width: 350px;
    right: 10px;
    top: -100%;
    text-align: center;
    overflow: hidden;
    animation-name: fade_clock_in;
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

@media screen and (max-width: 768px) {
    .clock-container {
        position: fixed;
        left: 50%;
        top: 12%;
        transform: translate(-50%, -50%);
        right: auto;
        width: 90%;
        max-width: 350px;
    }
}

.animation_clock_hide{
    position: absolute;
    width: 350px;
    right: 10px;
    top: 12%;
    text-align: center;
    overflow: hidden;
    animation-name:fade_clock_hide;
    animation-duration:1s;
    animation-fill-mode: both;
}

/* Survey & Notification Elements */
.icon_survey{
    position:absolute;
    left:50%;
    z-index:600; 
    width:220px;
    margin-left:-110px;
    margin-top:60px;
    height:110px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    backdrop-filter:blur(20px);
    border-radius:15px; 
    overflow: hidden;
    transition: background .2s, margin-left .2s, width .2s;
}

.icon_survey:hover{
    margin-left:-115px;
    width:230px;
    background: rgba(255, 255, 255, 1);
}

.noti_tab2{
    width:98%;
    background: rgba(255, 255, 255, 0.8);
    padding:10px;
    border-radius:15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color:#1a1a1a;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.noti_tab2:hover{
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 204, 0.15);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.12);
    transform: translateY(-2px);
}

/* ========================================
   NEWS NOTIFICATION STYLES
   (show_topic_news_notification.php)
   ======================================== */
.noti_tab{
    position:relative;
    width:300px;
    height:150px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter:blur(40px);
    -webkit-backdrop-filter:blur(40px);
    display: inline-block;
    cursor:pointer;
    padding:6px;
    margin:5px 0;
    border-radius:16px;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.noti_tab:hover{
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.noti_tab .img{
    width:90px;
    height:90px;
    background-size:cover;
    background-position:top;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.text_topic{
    font-family: IBMPlexSansThai-Light;
    font-size:11pt;
    color:#1d1d1f;
    font-weight:500;
    line-height:1.4;
}
.text_detail{
    font-family: IBMPlexSansThai-Light;
    font-size:11pt;
    color:#6e6e73;
    line-height:1.4;
}
.text_date{
    font-family: Kanit-Light;
    font-size:9pt;
    color:#86868b;
    position:absolute; 
    bottom:6px; 
    left:10px;
}
.text_view{
    font-family: Kanit-Light;
    font-size:9pt;
    color:#86868b;
    font-weight:400;
}
.text_readmore{
    font-family: Kanit-Light;
    font-size:9pt;
    color:#0066cc;
    position:absolute; 
    bottom:6px;
    width:60px;
    left:50%;
    margin-left:-30px;
}

.tab-news{
    font-family: IBMPlexSansThai-Light; 
    font-size:11pt;
    padding:10px 15px;
    background:rgba(240, 240, 240, 0.8);
    margin-bottom:5px;
    border-radius:8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all .2s;
}
.tab-news:hover{
    background: rgba(230, 240, 255, 0.9);
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateX(3px);
}

/* Button & UI Elements */
.btn_save_paper{
    background:#ffffff;
    width:260px;
    height:80px; 
    cursor:pointer; 
    border-radius:10px;
    transition: border-radius 0.3s;
    font-family: Kanit-Light;
}

.btn_save_paper:hover{
    border-radius:5px;
}

.btn-iso{
    width:260px;
    border-radius:10px;
    background:#fff; 
    cursor:pointer;
    height:80px;
    padding-top:3px;
    transition: border-radius 0.3s;
}

.btn-iso:hover{
    border-radius:5px;
}

.btn_team{
    width:30px; 
    padding:5px;
    border-radius:10px; 
    cursor:pointer;
    transition: background .3s;
}

.btn_team:hover{
    background:#c0c0c0;
}

.btn_readmore{
    cursor:pointer;
    margin-top:6px;
    padding:3px 10px; 
    border-radius:5px;
    color:#000000;
    border:1px solid #0080c0;
    font-size:11pt;
    font-family: IBMPlexSansThai-Medium;
    transition: background .3s, color .3s;
}

.btn_readmore:hover{
    background:#0080c0;
    color:#fff;
}

.btn_event{
    cursor:pointer;
    border-radius:15px;
    padding:5px;
    transition: background .3s;
}

.btn_event:hover{
    background:rgba(255,255,255,0.3);
}

.org_class{
    font-family: Poppins-light;
    position:absolute;
    right:15px; 
    cursor:pointer;
    background: rgba(255, 255, 255, 0.8);
    color:#000000;
    font-size:10pt;
    padding:5px 10px;
    border-radius:15px;
    transition: background .3s;
}

.org_class:hover{
    background: rgba(255, 255, 255, 1);
}

/* Bootstrap Component Overrides */
.offcanvas {
    transition: transform 0.3s ease-in-out;
}

.modal.fade .modal-dialog {
    transform: translateY(-8%);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    opacity: 0;
}
.modal.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-dialog.modal-dialog-centered {
    transform: translateY(-20%);
}
.modal.show .modal-dialog.modal-dialog-centered {
    transform: translateY(0);
}

.modal-backdrop.show {
    transition: opacity 0.2s linear;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Layout & Container Elements */
.bgcanvas_right{
    background:rgba(255,255,255,0.8);
    backdrop-filter:blur(60px);
    -webkit-backdrop-filter: blur(60px);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}

.bgcanvas_comment{
    background: rgb(255,255,255,0.6);
    backdrop-filter:blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border:0.8px solid rgba(150,150,150,0.1);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}

.bg_backdrop_text{
    position:absolute; 
    background:rgba(255,255,255,0.3);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    width:500px; 
    z-index:-2000; 
    margin-left:50px; 
    margin-top:330px; 
    height:230px; 
    border-radius:15px; 
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    animation-name: bg_fade;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.bg_backdrop_text_hide{
    position:absolute; 
    background:rgba(255,255,255,0.3);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1); 
    width:500px; 
    z-index:-2000; 
    margin-left:50px; 
    margin-top:330px;
    height:230px; 
    border-radius:15px; 
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    animation-name: bg_fade_out;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

/* Other User Elements */
.icon_other_user {
    width: 54px;
    height: 54px;
    border-radius: 27px;
    background-color:#fff;
    border: 2px solid #fff;
}

.icon_other_user_show {
    display: flex;
    position: absolute;
    left: 5px;
    bottom: 5px;
    z-index: 3000;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIconOtherUser 0.6s ease-out forwards;
}

.icon_other_user_hover {
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 15px 8px 8px;
    margin-left:10px;
    border-radius:15px;
    cursor:pointer;
    overflow:hidden;
    transition: transform 0.18s ease, background 0.18s ease;
    background: rgba(255,255,255,0.02);
    -webkit-tap-highlight-color: transparent;
}
.icon_other_user_hover:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px) scale(1.02);
    box-shadow: none;
}
.icon_other_user_hover:focus {
    outline: none;
    box-shadow: none;
}
.icon_other_user_hover:active {
    transform: translateY(0) scale(0.98);
}

.icon_other_user_hover::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    pointer-events: none;
}
.icon_other_user_hover:active::after {
    animation: ripple 0.6s ease-out forwards;
}

.icon_other_user_hover .user_name {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    white-space: nowrap;
}
.icon_other_user_hover:hover .user_name,
.icon_other_user_hover.show-name .user_name {
    opacity: 1;
    transform: translateX(0);
}

.icon_other_user_hover.animate-in {
    animation: slideUpFade 0.5s cubic-bezier(.2,.8,.2,1) both;
}

/* Icons & Misc Elements */
.icon_hover{
    position:absolute;
    height:30px;
    opacity:0.5;
    cursor:pointer;
    z-index:3000;
    transition: opacity 0.2s;
}

.icon_hover:hover{
    opacity:1;
}

/* Icon Positioning Classes */
.icon_top_left{
    position:fixed;
    left:10px; 
    height:40px; 
    width:40px;
    border-radius:20px;
    z-index:1000;
}

.icon_right{
    position:fixed;
    right:10px; 
    height:40px; 
    width:40px;
    border-radius:20px;
    z-index:1000;
}

.icon_bottom_right{
    position:fixed; 
    bottom:10px;
    right:10px;
    width:40px;
    height:40px;
    border-radius:20px;
    z-index:1000;
}

.icon_bottom_left{
    position:fixed; 
    bottom:10px; 
    width:40px;
    height:40px;
    border-radius:20px;
    z-index:1000;
}

.icon_user_info{
    position:fixed; 
    bottom:10px; 
    width:40px;
    height:40px;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border-radius:20px;
    z-index:1000;
    background-size: 120% 120%;
    background-position: center;
    animation: gradient 3s ease infinite;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}

.icon_user_info:hover{
    transform: scale(1.05);
}

.icon_menu{
    position:relative;
    width:100%;
    height:100%;
    background: rgba(25, 26, 27, 0.2);
    border: 1px solid rgba(231, 231, 231, 0.2);
    border-radius:20px;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}

.icon_menu:hover{
    background: rgba(25, 26, 27, 0.6);
    transform: scale(1.05);
}

.icon_menu_aqi{
    position:absolute; 
    width:40px;
    height:40px;
    left:0px;
    top:0px;
    cursor: pointer;
    overflow: hidden;
    border-radius:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}

.icon_menu_aqi:hover{
    background: rgba(25, 26, 27, 0.6);
    transform: scale(1.05);
}

.icon_active{
    height:20px;
    width:20px;
}

.pic_ad{
    position:absolute; 
    cursor:pointer; 
    left:2px; 
    top:2px; 
    width:36px; 
    height:36px; 
    border-radius:18px; 
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

/* Icon Bookmarks */
.icon_bookmark{
    width:20px;
    height:20px;
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com.svg');
    background-size:100%;
    background-position:center;
    background-repeat:no-repeat;
    cursor:pointer;
}
.icon_bookmark:hover{
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-active.svg');
}

.icon_bookmark_active{
    width:20px;
    height:20px;
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-active.svg');
    background-size:100%;
    background-position:center;
    background-repeat:no-repeat;
    cursor:pointer;
}
.icon_bookmark_active:hover{
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com.svg');
}

.menu_bookmark{
    position:absolute;
    cursor:pointer;
    right:10px;
    top:12px;
    width:20px;
    height:20px;
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-gray.svg');
    background-size:100%;
    background-position:center;
    background-repeat:no-repeat;
    z-index: 2000;
}
.menu_bookmark:hover{
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-active.svg');
}

.menu_bookmark_active{
    position:absolute;
    cursor:pointer;
    right:10px;
    top:12px;
    width:20px;
    height:20px;
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-active.svg');
    background-size:100%;
    background-position:center;
    background-repeat:no-repeat;
    z-index:2000;
}
.menu_bookmark_active:hover{
    background-image:url('../images/icon_intranet/icon_svg/bookmark-svgrepo-com-gray.svg');
}

/* Air Quality Widget */
.air_quality_show{
    width:360px; 
    position:fixed; 
    z-index:5000; 
    bottom:10px; 
    right:10px;
    padding:10px 15px 15px 15px; 
    border-radius: 10px; 
    overflow:hidden; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(calc(100% + 10px));
    will-change: transform;
    animation: air_show 1.2s cubic-bezier(.22,.9,.36,1) forwards;
}

.air_quality_hide{
    width:360px; 
    position:fixed; 
    z-index:2000; 
    bottom:10px; 
    right:10px;
    padding:10px 15px 15px 15px; 
    border-radius: 10px; 
    overflow:hidden; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(0);
    will-change: transform;
    animation: air_hide 1.2s cubic-bezier(.22,.9,.36,1) forwards;
}

/* Notification Box */
.box_notification{
    position:fixed;
    bottom:-180px;
    left:10%;
    margin-left:-5%;
    width: 90%;
    height:175px;
    overflow:scroll;
    z-index:900;
    justify-content:center;
    vertical-align:bottom;
    animation-name: box_notification_bottom;
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

.box_notification_out{
    position:fixed;
    bottom:0px;
    width:100%;
    height:180px;
    z-index:900;
    justify-content:center;
    vertical-align:bottom;
    animation-name: box_notification_bottom_out;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.btn_close{
    position:absolute;
    z-index: 1000;
    width:40px; 
    height:40px;
    bottom:150px;
    opacity: 0;
    color:#000000;
    border-radius:20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter:blur(15px);
    left:50%;
    margin-left:-20px;
    cursor: pointer;
    animation-name: show_btn_close;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn_close:hover{
    background: rgba(255, 255, 255, 0.8);
}

.text_icon_iso{
    position:absolute; 
    width:250px;
    padding:20px 10px;
    bottom:0px;
    right:0px;
    z-index:2000;
    font-family: Kanit-Light; 
    font-size:12pt; 
    background: rgba(32, 32, 32, 0.5);
    box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
    border:1px solid rgba(150,150,150,0.1);
    backdrop-filter:blur(60px);
    -webkit-backdrop-filter: blur(60px);
    color:#fff;
    border-radius:20px;
    animation-name: bg_fade;
    animation-duration: 0.2s;
    animation-fill-mode: both;
}

/* Table & List Elements */
.tr_hover{
    background:#fff;
    transition: background .1s;
}
.tr_hover:hover{
    background:#e1e1e1;
}

.tr_active{
    background:#ffff80;
}

ul li{
    margin:15px 15px 0 0;
    padding:0;
}

/* ========================================
   USER PROFILE MODAL STYLES
   (user_profile_modal.php)
   ======================================== */
.profile-header{
    background: url('../business_card/bg-header.png') center center / cover no-repeat;
    padding:20px;
    margin-bottom:20px; 
}

.profile-img{
    position: relative;
    left:30px;
    width:150px; 
    height:150px; 
    border-radius:50%; 
    border: 5px solid #fff;
    object-fit:cover; 
    object-position: top; 
    background-color: #eee;
    box-shadow:0 2px 4px rgba(0,0,0,0.1); 
    z-index:100;
}

.landco-img{
    position: absolute;
    right:30px;
    top:10px;
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.2));
    z-index:100;
}

/* Logo & Layout Controls */
.logo_hide{
    display:none;
    font-family: Kanit-Light;
}

.logo_show{
    display:flex; 
    align-items:center; 
    gap:15px; 
    padding:10px 60px;
    position:relative;
    animation-duration: 0.5s;
    animation-delay: 0.2s;
    opacity:0;
    animation-timing-function: ease;
    animation-fill-mode: both;
    z-index:200;
    animation-name: logo_show;
}

.slogan_hide{
    display:none;
    font-family: Kanit-Light;
}

.slogan_show{
    position:relative;
    animation-name: slogan_show;
    animation-duration: 1s;
    animation-delay: 0.2s;
    opacity:0;
    animation-timing-function: ease;
    animation-fill-mode: both;
    z-index:200;
    top:10px;
    font-family: Kanit-Light;
}

.contain_hide{
    display:none;
}

.contain_show{
    position:relative;
    width:100%;
    animation-name: contain_show;
    animation-duration: 1s;
    animation-delay: 0.2s;
    opacity:1;
    animation-timing-function: ease;
    animation-fill-mode: both;
    z-index:200;
}

.title_logo{
    position:fixed;
    bottom:0px; 
    z-index:500;
    height:70px; 
    margin:10px;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-name: title_show;
}

.title_logo_hide{
    position:fixed; 
    bottom:0px; 
    z-index:500; 
    height:70px; 
    margin:10px;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-name: title_hide;
    font-family: IBMPlexSansThai-Light;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    width:100%;
    min-width: 100%;
    min-height: 100%;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 0px;
}

.scrollable-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}