/* ===== HEADER TOPBAR ===== */
.header-topbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.header-topbar .topbar-left img {
    height: 40px;
}

.topbar-hotline {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.hotline-number {
    color: #e74c3c;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.hotline-number:hover {
    color: #c0392b;
    text-decoration: none;
}

/* ===== HEADER NAVBAR ===== */
.header-navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-wrapper {
    padding: 0;
}

.navbar-menu {
    list-style: none;
    gap: 0;
    margin: 0;
}

.navbar-menu-item {
    position: relative;
}

.navbar-menu-item>a {
    display: inline-block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s;
}

.navbar-menu-item>a:hover {
    color: #4361ee;
    background-color: #f0f2ff;
    text-decoration: none;
}

/* Auth area */
.navbar-auth-area {
    gap: 8px;
    flex-shrink: 0;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-auth:hover {
    text-decoration: none;
}

.btn-login {
    border-color: #4361ee;
    color: #4361ee;
    background: #fff;
}

.btn-login:hover {
    background-color: #4361ee;
    color: #fff;
}

.btn-register {
    background-color: #4361ee;
    border-color: #4361ee;
    color: #fff;
}

.btn-register:hover {
    background-color: #3451d1;
    border-color: #3451d1;
    color: #fff;
}

/* Navbar auth account dropdown */
.navbar-auth-area .box-account {
    display: flex;
    align-items: center;
}

.navbar-auth-area .account-logined {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.navbar-auth-area .account-logined:hover {
    background-color: #f5f5f5;
}

/* ===== KEEP EXISTING STYLES ===== */
.box-icon {
    background-color: var(--input-disable-color);
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer
}

.box-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.box-icon .icon-num-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--invalid-color);
    color: #fff
}

.box-icon-text {
    color: var(--text-color)
}

#heading {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: .2s
}

header nav.heading {
    background-color: #fff;
    position: relative;
    box-shadow: 0 2px rgba(0, 0, 0, .05)
}

header nav.heading .header-container {
    height: 56px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: space-between
}

.account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    overflow: hidden
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.box-account-logined {
    top: 50px;
    right: 0;
    width: 360px;
    background: #fff;
    padding: 16px 4px 16px 16px;
    box-shadow: 0 1px 4px 0 #00000033;
    z-index: 1000;
}

.box-account-logined .sidebar-section {
    border: 1px solid var(--border-default-color)
}

.account-logined-content {
    height: 400px;
    overflow-y: scroll
}

.account-logined-content::-webkit-scrollbar {
    width: 8px
}

.account-logined-content::-webkit-scrollbar-thumb {
    background: rgba(188, 191, 214, .5);
    border-radius: 14px
}

.account-logined-content:hover::-webkit-scrollbar-thumb:active {
    background: #bcbfd6
}

.login-popup {
    border: 1px solid var(--border-default-color)
}

.box-account-logined {
    display: none
}

.box-account-open,
.close-login-popup {
    cursor: pointer
}

.account-logined-content {
    display: none
}

.loading {
    width: 26px;
    height: 26px;
    background-image: linear-gradient(to right, transparent, var(--primary-color));
    padding: 3px;
    border-radius: 100%;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1.2s linear infinite
}

.loading-child {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: inherit
}

.btn-loading {
    padding: 6px 46px;
    border-radius: 8px
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg)
    }
}

.box-logo img {
    width: 140px
}

.box-search form {
    position: relative
}

@media (min-width: 993px) {
    header nav.heading {
        display: none;
    }
}

@media (max-width: 992px) {
    #heading.inactive {
        opacity: 0;
        visibility: hidden;
        pointer-events: none
    }

    .box-icon {
        background-color: transparent
    }

    .layout {
        margin-bottom: 96px
    }
}

@media (max-width: 1400px) and (min-width: 993px) {
    .navbar-menu-item>a {
        padding: 14px 12px;
        font-size: 13px;
    }

    .btn-auth {
        padding: 7px 14px;
        font-size: 12px;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .navbar-menu-item>a {
        padding: 12px 8px;
        font-size: 12px;
    }

    .btn-auth {
        padding: 6px 12px;
        font-size: 11px;
    }

    .btn-loading {
        padding: 6px 15px;
        border-radius: 8px
    }
}

.box-search_mobile {
    display: none
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #343a40;
    color: #c5c8cc;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-col {
    padding-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-title-bold {
    color: #fff;
}

.footer-highlight {
    color: #42d6a4;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #9ea4ab;
    margin-bottom: 16px;
}

.footer-social {
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4a5058;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #42d6a4;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #9ea4ab;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list li:last-child {
    border-bottom: none;
}

.footer-contact-icon {
    color: #42d6a4;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: #42d6a4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #5aedb8;
    text-decoration: none;
}

.footer-247 {
    color: #777;
    font-size: 13px;
}

.footer-copyright {
    background-color: #2c3136;
    padding: 14px 0;
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

.footer-copyright a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.footer-copyright a:hover {
    color: #ff6b5a;
    text-decoration: none;
}

/* Mobile footer adjustments */
@media (max-width: 992px) {
    .site-footer {
        margin-top: 20px;
        padding: 30px 0 0;
        padding-bottom: 80px;
    }

    .footer-col {
        padding-bottom: 20px;
    }

    .footer-title {
        font-size: 16px;
    }
}