:root {
    --primary-color: #1a2e4a;
    --secondary-color: #00aaff;
    --accent-color: #ffd700;
    --text-color: #ffffff;
    --text-secondary: #ecf0f1;
    --background-color: #f8f9fa;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 68px;
    --transition: all 0.3s ease;
}
.login-btn {
    background-color: var(--secondary-color);
    color: white;
}
* {
    /* margin: 0; */
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.loginn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(90deg, #00aaff 0%, #1a4a6e 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 170, 255, 0.12);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    margin-top: 16px;
}

.loginn-btn:hover, .loginn-btn:focus {
    background: linear-gradient(90deg, #1a4a6e 0%, #00aaff 100%);
    box-shadow: 0 6px 24px rgba(0,170,255,0.22);
    transform: translateY(-2px) scale(1.03);
    outline: none;
}
/* Header bottom container */
.header-bottom-container {
    background-color: #ffffff;
    color: #ffffff;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgb(255 255 255 / 20%);
}

.header-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

/* Hot news section (60%) */
.hot-news-wrapper {
    flex: 0 0 60%;
    padding-right: 15px;
}

.hot-news-layer {
    display: flex;
    align-items: center;
    background-color: rgb(252 252 252 / 20%);
    border-radius: 4px;
    padding: 5px 10px;
    height: 40px;
}

.news-title {
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap;
    color: var(--accent-color);
    font-size: 14px;
}

.hot-news {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    height: 100%;
}

.marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-item {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    font-size: 14px;
    color: #0c0c0c;
}

.news-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Bottom menu (40%) */
.bottom-menu {
    flex: 0 0 40%;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bottom-menu li {
    flex: 1;
    text-align: center;
}

.bottom-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 0;
    transition: color 0.3s;
}

.bottom-menu a:hover {
    color: var(--accent-color);
}

.bottom-menu i {
    font-size: 16px;
    margin-bottom: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-bottom {
        flex-direction: column;
    }
    
    .hot-news-wrapper {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .bottom-menu {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .news-title {
        font-size: 12px;
    }
    
    .news-item {
        font-size: 12px;
    }
    
    .bottom-menu a {
        font-size: 10px;
    }
    
    .bottom-menu i {
        font-size: 14px;
    }
}
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: #333;
    line-height: 1.6;
}

.login-btn:hover {
    background-color: #163d5a;
}
/* Header Styles */
.header {
    background-color: #e7e7e7;
    color: var(--text-color);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Auth Buttons for PC */
.auth-buttons-pc {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

/* Unified Auth Button Styles */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 17px;
    border: none;
    /* background: linear-gradient(to top, #e2991d, #c89f6b); */
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn.login-btn {
    background-color: #0d415c;
    color: #fff;
}
.auth-btn.login-btn:hover {
    background-color: #008ecc;
}

.auth-btn.register-btn {
    background-color: #56bfbe;
    color: #ffffff;
}
.auth-btn.register-btn:hover {
    background-color: #e6c200;
}

/* Auth Buttons for Mobile */
.auth-section {
    background: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-container {
        height: 50px;
        padding: 0 10px;
    }
    .logo {
        height: 30px;
    }
    .auth-btn {
        padding: 8px 10px;
        min-width: 120px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .auth-btn {
        width: 100%;
    }
}

/* Show/hide header buttons depending on device */
.auth-buttons-pc {
    display: none;
}

@media (min-width: 768px) {
    .auth-buttons-pc {
        display: flex;
    }
    .auth-section {
        display: none;
    }
}

@media (max-width: 767px) {
    .auth-buttons-pc {
        display: none;
    }
    .auth-section {
        display: block;
    }
    .header-right {
        display: none;
    }
}

/* For demonstration, example of iframe/content styles */
.content-section {
    /* padding: 30px 0; */
    background-color: white;
}
.iframe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
    background-color: #f0f2f5;
}
#iframe-demo {
    width: 100%;
    height: 950px;
    border: none;
}
@media (max-width: 767px) {
    .auth-buttons-pc {
        display: none; /* áº¨n nÃºt trong header trÃªn mobile */
    }
    .auth-section {
        display: block; /* Hiá»ƒn thá»‹ auth-section trÃªn mobile */
        background-color: #ffffff;
    }
    .header-right {
        display: none; /* áº¨n header-right trÃªn mobile */
    }
}

/* Äiá»u chá»‰nh transform: translateY cho PC (mÃ n hÃ¬nh >= 768px) */
@media (min-width: 768px) {
    #mainIframe {
        transform: translateY(-78px); /* Chá»‰nh giÃ¡ trá»‹ nÃ y cho PC */
    }
}

/* Äiá»u chá»‰nh transform: translateY cho Ä‘iá»‡n thoáº¡i (mÃ n hÃ¬nh < 768px) */
@media (max-width: 767px) {
    #mainIframe {
        transform: translateY(-312px); /* Chá»‰nh giÃ¡ trá»‹ nÃ y cho Ä‘iá»‡n thoáº¡i */
    }
}
.iframe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
    background-color: #f0f2f5;
}
#mainIframe {
    width: 100%;
    height: 994px;
    border: none;
    clip-path: inset(50px 0 0 0);
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(245 245 245 / 70%);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #090909;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 642px;
    height: 90%;
    max-height: 814px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    position: relative;
    padding: 20px;
    
    //
    background-image: url('https://gwfd.qatgwawm.net/system-requirement/Web.PortalNew/UK253-01/3123ca1489/images/0e9f2006f888f70423ee5710a489fdb2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* hoặc 'top center' */
}


@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: url('https://gwfd.qatgwawm.net/system-requirement/Web.PortalNew/UK254-01/a64730518b/images/close-icon.png') no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.modal-header-content {
    text-align: center;
    margin-bottom: 20px;
}

.modal-logo {
    margin: 0 auto;
}

.modal-logo img {
    width: 150px;
    height: auto;
}

.modal-sign {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.modal-sign h2 {
    font-size: 18px;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0;
}

.modal-sign p {
    font-size: 14px;
    color: #fbfbfb;
    margin: 0;
}

.modal-sign img {
    width: 50px;
    height: auto;
}

.modal-body {
    padding: 0;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--secondary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 5px 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.input-wrapper i {
    margin-right: 10px;
}

.input-wrapper i img {
    width: 20px;
    height: 20px;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background: transparent;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
}

.form-info {
    text-align: center;
    font-size: 12px;
    color: #e74c3c;
    margin: 15px 0;
    line-height: 1.4;
}
.login-btn:hover {
    background-color: #163d5a;
}

.form-reg {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.form-reg a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-reg a:hover {
    text-decoration: underline;
}

.bottom-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 12px;
}

.bottom-btns a {
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
}

.bottom-btns a:hover {
    color: var(--secondary-color);
}
.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}
