body {
    font-family: 'Arial', sans-serif !important;
    background-color: rgba(26, 26, 46, 0.05) !important;
}

.navbar-shadow {
    box-shadow: 2px 2px 10px -2px rgba(26, 26, 46, 0.3) !important;
}

::-webkit-input-placeholder {
    color: #6c757d !important;
}

:-ms-input-placeholder {
    color: #6c757d !important;
}

::placeholder {
    color: #6c757d !important;
}

.card-custom {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.card-custom img {
    height: 200px !important;
    object-fit: cover !important;
}

.border-primary {
    box-shadow: 1px 1px 5px rgba(26, 26, 46, 0.2) !important;
}

.border-primary:hover {
    border-color: #1a1a2e !important;
    box-shadow: 1px 1px 10px rgba(26, 26, 46, 0.3) !important;
}

.btn-primary {
    background-color: #1a1a2e !important;
    border-color: #1a1a2e !important;
    box-shadow: 1px 1px 5px rgba(26, 26, 46, 0.2) !important;
}

.btn-primary:hover {
    background-color: #16213e !important;
    border-color: #16213e !important;
    box-shadow: 1px 1px 10px rgba(26, 26, 46, 0.3) !important;
}

.btn-danger {
    box-shadow: 1px 1px 5px var(--bs-red) !important;
}

.btn-danger:hover {
    box-shadow: 1px 1px 10px var(--bs-red) !important;
}

.btn-success {
    box-shadow: 1px 1px 5px var(--bs-success) !important;
}

.btn-success:hover {
    box-shadow: 1px 1px 10px var(--bs-success) !important;
}

.btn-warning {
    box-shadow: 1px 1px 5px var(--bs-yellow) !important;
}

.btn-warning:hover {
    box-shadow: 1px 1px 10px var(--bs-yellow) !important;
}

.btn-info {
    box-shadow: 1px 1px 5px var(--bs-info) !important;
}

.btn-info:hover {
    box-shadow: 1px 1px 10px var(--bs-info) !important;
}

.btn-light {
    box-shadow: 1px 1px 5px var(--bs-light) !important;
}

.btn-light:hover {
    box-shadow: 1px 1px 10px var(--bs-light) !important;
}

a {
    text-decoration: none;
}

.footer-shadow {
    box-shadow: 3px -2px 10px -2px rgba(26, 26, 46, 0.3) !important;
}

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.floating-buttons .btn {
    display: block;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 10px;
    transition: all 0.3s;
}

.floating-buttons .btn:hover {
    transform: scale(1.05);
}

.floating-buttons-left {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.floating-buttons-right {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.floating-buttons .btn:hover {
    transform: scale(1.05);
}

.floating-buttons .btn:active {
    transform: scale(0.95);
}

.hidden {
    display: none !important;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

.rounded-custom {
    border-radius: 0 0 0.50rem 0.50rem !important;
}

.container-tai {
    position: relative;
    text-align: center;
}

.wheel-image {
    width: 100%;
}

.center-image {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
}

.scroll-container {
    height: 700px;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    position: absolute;
    width: 100%;
}

/* Modern 2026 Design Styles */
.modern-card {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.bg-gradient-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 12px 12px 0 0 !important;
}

.category-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.category-icon-wrapper i {
    font-size: 24px;
    color: #ffffff;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.category-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.product-card-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px !important;
    overflow: hidden;
    cursor: pointer;
}

.product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 220px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-modern:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    font-size: 1rem;
    line-height: 1.4;
    /* min-height: 2.8em; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.price-old {
    font-size: 0.875rem;
}

.price-new {
    font-size: 1.125rem;
    color: #198754 !important;
}

.stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4) !important;
    color: #ffffff !important;
}

.btn-modern-primary:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-title {
        font-size: 1.25rem;
    }

    .category-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .category-icon-wrapper i {
        font-size: 20px;
    }

    .product-image-wrapper {
        height: 180px;
    }
}

/* Recharge Card Modern Styles */
.btn-tab-modern {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 8px;
    color: #212529;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.btn-tab-modern:hover {
    background: #e9ecef;
    border-color: #1a1a2e;
    color: #1a1a2e;
    transform: translateY(-1px);
}

.btn-tab-modern.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: #1a1a2e;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.3);
}

.btn-tab-modern.active i,
.btn-tab-modern.active span {
    color: #ffffff !important;
}

.btn-tab-modern i {
    font-size: 1.1rem;
}

.form-select-modern,
.form-control-modern {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-select-modern:focus,
.form-control-modern:focus {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 46, 0.15);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

.ranking-list {
    max-height: 400px;
    overflow-y: auto;
}

.ranking-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.rank-badge {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.banner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.banner-wrapper img {
    transition: transform 0.4s ease;
}

.banner-wrapper:hover img {
    transform: scale(1.02);
}

/* Feature Cards Modern Styles */
.feature-card-modern {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #1a1a2e;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-icon-wrapper i {
    font-size: 48px;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-wrapper i {
    color: #16213e;
}

.feature-card-modern h6 {
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive adjustments for feature cards */
@media (max-width: 768px) {
    .feature-card-modern {
        padding: 24px 20px;
    }

    .feature-icon-wrapper i {
        font-size: 40px;
    }
}

/* Footer Modern Styles */
.footer-modern {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef;
}

.footer-section {
    height: 100%;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-messenger-img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-messenger-img:hover {
    transform: scale(1.05);
}

.footer-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-icon {
    color: #1a1a2e;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-description {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.2);
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26, 26, 46, 0.4);
    color: #ffffff;
}

.footer-social-btn i {
    font-size: 1.2rem;
}

.footer-divider {
    border-color: #dee2e6;
    opacity: 0.5;
    margin: 2rem 0;
}

.footer-copyright {
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-link {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #16213e;
    text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-modern {
        padding: 2rem 0 !important;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-social-buttons {
        justify-content: flex-start;
    }

    .footer-messenger-img {
        max-width: 150px;
    }
}

/* Override Bootstrap primary colors to dark blue */
.text-primary {
    color: #1a1a2e !important;
}

.bg-primary {
    background-color: #1a1a2e !important;
}

.border-primary {
    border-color: #1a1a2e !important;
}

/* Announcement Modern Styles */
.announcement-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 12px 16px;
}

.announcement-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-icon i {
    color: #ffffff;
    font-size: 1.1rem;
}

.announcement-content {
    overflow: hidden;
}

.announcement-text {
    color: #212529;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.announcement-text:hover {
    animation-play-state: paused;
}

/* Responsive adjustments for announcement */
@media (max-width: 768px) {
    .announcement-wrapper {
        padding: 10px 12px;
    }

    .announcement-icon {
        width: 36px;
        height: 36px;
    }

    .announcement-icon i {
        font-size: 1rem;
    }

    .announcement-text {
        font-size: 0.875rem;
    }
}

/* Navbar Modern Styles */
.navbar-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    padding: 0.75rem 0;
}

.navbar-brand-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-brand-link:hover {
    opacity: 0.8;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand-link:hover .navbar-brand {
    transform: scale(1.05);
}

.btn-nav-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.btn-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-nav-action {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    backdrop-filter: blur(10px) !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.btn-nav-action:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.btn-nav-action:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.btn-nav-action i {
    font-size: 0.9rem !important;
}

.btn-nav-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
    border-color: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3) !important;
    white-space: nowrap !important;
}

.btn-nav-success:hover {
    background: linear-gradient(135deg, #157347 0%, #0f5132 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.5) !important;
}

.btn-nav-success:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3) !important;
}

.btn-nav-success i {
    font-size: 0.9rem !important;
}

.btn-nav-danger {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%) !important;
    border-color: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
    white-space: nowrap !important;
}

.btn-nav-danger:hover {
    background: linear-gradient(135deg, #bb2d3b 0%, #a02a37 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5) !important;
}

.btn-nav-danger:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.btn-nav-danger i {
    font-size: 0.9rem !important;
}

.navbar-actions {
    margin-left: 1rem;
}

.navbar-nav {
    gap: 0.75rem;
}

/* Mobile Menu Styles */
.mobile-menu-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin-bottom: 1rem;
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive adjustments for navbar */
@media (max-width: 991px) {
    .navbar-modern {
        padding: 0.5rem 0;
    }

    .navbar-nav {
        margin-top: 1rem;
        padding-top: 0.5rem;
    }

    .mobile-menu-actions {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .mobile-menu-divider {
        margin-bottom: 0.75rem;
    }

    .btn-nav-action {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .btn-nav-success,
    .btn-nav-danger {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn-nav-action {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .btn-nav-success,
    .btn-nav-danger {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Recharge Page Styles */
.btn-recharge-tab {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    color: #212529;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-recharge-tab:hover {
    background: #e9ecef;
    border-color: #1a1a2e;
    color: #1a1a2e;
    transform: translateY(-1px);
}

.btn-recharge-tab.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: #1a1a2e;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.3);
}

.btn-recharge-tab.active i,
.btn-recharge-tab.active span {
    color: #ffffff !important;
}

.bank-card-modern {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.bank-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.bank-info {
    font-size: 0.9rem;
    line-height: 1.6;
}

.bank-label {
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
}

.bank-value {
    color: #212529;
    font-weight: 500;
}

.bank-account {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.bank-content {
    color: #1a1a2e;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.table-modern {
    border-radius: 8px;
    overflow: hidden;
}

.table-modern thead {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

.table-modern thead th {
    border: none;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

.table-modern tbody td {
    padding: 12px 16px;
    border-color: #e9ecef;
    vertical-align: middle;
}

/* Responsive adjustments for recharge page */
@media (max-width: 768px) {
    .btn-recharge-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .bank-info {
        font-size: 0.85rem;
    }

    .bank-account,
    .bank-content {
        font-size: 0.9rem;
    }
}

/* Modal Modern Styles */
.modal-content {
    border-radius: 17px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.modal-header.bg-gradient-modern {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: none !important;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body .input-group-text.bg-gradient-modern {
    border-right: none !important;
}

.modal-body .form-control.border-primary:focus {
    border-color: #1a1a2e !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 46, 0.15) !important;
}

.modal-body .form-check-input.border-primary:checked {
    background-color: #1a1a2e !important;
    border-color: #1a1a2e !important;
}

.modal-body .form-check-input.border-primary:focus {
    border-color: #1a1a2e !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 46, 0.15) !important;
}

.modal-footer {
    border-top: 1px solid #e9ecef !important;
    padding: 1rem !important;
}

.input-group-text {
    border-radius: 0.375rem !important;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}