body {
    font-family: Helvetica, sans-serif;
}


.nav-link.active {
    color: #FEA11D !important;
}

.logout-nav-link2.active {
    color: #FEA11D !important;
}

.nav-link.active svg {
    fill: currentColor !important;
}

.color-primary {
    color: #2b0145 !important;
}

.color-secondary {
    color: #FEA11D !important;
}

.color-primary-light {
    color: #24004280
}

.bgcolor-primary {
    background-color: #2b0145 !important;
}

.bgcolor-secondary {
    background-color: #FEA11D !important;
}

.bgcolor-content {
    background-color: #E8E9ED
}

/* Sidebar */
.sidebar {
    width: 20vw;
    height: 100vh;
    background-color: #2b0145;
    color: white;
    position: fixed;
    padding-top: 20px;
    z-index: 999;
}

.navbar-toggler-mobile {
    padding: 0px;
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: rgb(255 255 255);
    background-color: transparent;
    border: none;
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}

.pl-8 {
    padding-left: 8px;
}

.sidebar .logo {
    padding: 15px;
    text-align: center;
}

.sidebar .nav-link {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.sidebar div .logout-nav-link2 {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar .submenu .nav-link {
    font-size: 12px;
    padding-left: 30px;
}

.submenu .nav-link::before {
    content: "• ";
    /* color: orange; optional */
    margin-right: 5px;
}

.submenu .submenu .nav-link {
    padding-left: 2.5rem !important;
}

.fr {
    float: right;
}

.cart-count {
    width: 18px;
    height: 16px;
    font-size: 10px;
}


.page-content {
    margin-left: 20vw;
    overflow: hidden;
}


.tl-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: fixed;
    z-index: 900;
    background: white;
    width: 80vw;
}

.navbar {
    position: fixed;
    z-index: 900;
    background: white;
    width: 80vw;
}

.header-message {
    font-size: 16px;
    color: #000;
}

.loyalty-points {
    font-size: 14px;
    color: #666;
}

.loyalty-points a {
    color: #0066cc;
    text-decoration: none;
}

.account-title {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.footer {
    bottom: 0;
    position: relative;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 12px;
    text-align: center;
    width: 80vw;
}

.address-table {
    width: 100%;
    border-collapse: collapse;
}

.address-table td {
    padding: 5px 0;
    vertical-align: top;
}

.address-table .label {
    font-weight: bold;
    width: 150px;
}

.announcement-message {
    padding: 10px;
    font-size: 12px;
    text-align: center;
    background-color: #0C111B;
    position: fixed;
    top: 47px;
    z-index: 990;
    width: 80vw;
}

.breadcrumb {
    padding: 10px;
    font-size: 12px;
    margin-bottom: 0px;
    position: fixed;
    z-index: 100;
    width: 80vw;
    top: 84px;
}

.lang-dropdown {
    border: 2px solid #ccc;
    border-radius: 30px;
    padding: 2px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #26004d;
    font-weight: 500;
    font-size: 10px;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    min-width: auto;
}

.logout-button {
    font-size: 12px;
    align-content: center;
    cursor: pointer;
}

.card-mini {
    color: white;
    font-family: Helvetica;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: auto;
    border-radius: 20px;
    align-content: center;
    padding: 20px;
    box-shadow: 0px 4px 10px 0px #24004240;
}

.card-mini-2 {
    color: white;
    font-family: Helvetica;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    /* width: 270px; */
    height: auto;
    border-radius: 10px;
    align-content: center;
    padding: 10px;
    box-shadow: 0px 4px 10px 0px #24004240;
}

.img-page {
    width: 100%;
}

.transfer-modal {
    font-size: 14px;
    font-weight: 400;
}

.alert-warning {
    border-width: 1px;
    border-radius: 10px;
    border-color: #D80027;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    background-color: white;
}

.alert-warning svg {
    color: #F36F56 !important;
}

.alert-warning a {
    color: #F36F56 !important;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.alert-success {
    border-width: 1px;
    border-radius: 10px;
    border-color: #28A745;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    background-color: white;
}

.history-navigation-box {
    border-width: 1px;
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #BABFD1;
    background-color: #FFFFFF;
    color: #6165D7;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    align-content: center;
}

.history-navigation-box.active {
    border: 1px solid #240042;
    background-color: #CCCCFF;
    color: #240042;
    font-weight: 700;
}

.trade-navigation-box {
    border-width: 1px;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    align-content: center;
    cursor: pointer;
}

.trade-navigation-box.buy {
    border: 1px solid #28A745;
    background-color: #ffffff;
    color: #28A745;
}

.trade-navigation-box.buy.active {
    border: 1px solid #28A745;
    background-color: #28A745;
    color: #ffffff;
    font-weight: 700;
}

.trade-navigation-box.sell {
    border: 1px solid #D80027;
    background-color: #ffffff;
    color: #D80027;
}

.trade-navigation-box.sell.active {
    border: 1px solid #D80027;
    background-color: #D80027;
    color: #ffffff;
    font-weight: 700;
}

.row-cols-md-8>* {
    flex: 0 0 12.5%;
    max-width: 11.5%;
    margin: auto;
}

.row-cols-md-3>* {
    flex: 0 0 33.33%;
    max-width: 32.9%;
}

#cart.fade {
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
    margin-left: auto;
    margin-right: 0;
}

#cart.show {
    transform: translateX(0);
}

.login-container {
    background-color: #fff;
    box-shadow: 0px 4px 25px 0px #00000040;
    border-radius: 30px;
    min-height: 90%;
}

.login-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.login-welcome {
    color: #fff;
    top: 40%;
    font-size: 80px;
    font-weight: 700;
    left: 60px;
}

.login-desc {
    font-size: 16px;
}

.login-button-container {
    width: 60%;
}

.wallet-balance>* {
    flex: 0 0 auto;
    width: 22.67%;
}

.dashboard-small-text {
    font-size: 14px;
    color: #24004280;
}

.dashboard-figure {
    font-size: 20px;
    color: #240042;
    font-weight: 700;
}

.dashboard-card {
    overflow: hidden;
    box-shadow: 0px 4px 10px 0px #24004240 !important;
}

.dashboard-card .card-header {
    font-size: 16px;
    font-weight: 700;
    color: white;
    border: none;
    text-align: center;
    box-shadow: 0px 4px 10px 0px #24004240;
    padding: 12px;
}

.dashboard-card a {
    text-decoration: none;
}

.cart-trigger {
    cursor: pointer;
    padding-top: 4px;
}

.profile-card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-custom-card {
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #240042;
    font-family: Helvetica;
    font-weight: 400;
}

.profile-avatar {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    margin: auto;
}

.alert-success .bi-check-circle-fill{
    font-size: 26px;
    color: #28A745;
    margin-right: 0.5rem;
}

.content {
    padding-top: 120px;
}

.qr-icon-button{
    font-size: 18px;
    padding-right: 5px;
    align-content: center;
}

@media (max-width: 996px) {
    .row-cols-md-3>* {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .sidebar {
        width: 100%;
        height: auto;
        padding-top: 0px;
        position: fixed;
        top: 62px;
    }

    .cart-count {
        width: 19px;
        height: 18px;
        font-size: 11px;
    }

    /* .content{
        height: calc(100vh - 156px);
    } */

    .page-content {
        margin-left: 0px;
    }

    .tl-header {
        display: none;
        width: 100vw;
    }

    .footer {
        left: 0;
        width: 100vw;
        padding-bottom: 10px;
    }

    .logout-nav-link {
        display: flex;
        align-content: space-around;
        align-items: center;
        justify-content: space-between;
    }

    .lang-dropdown {
        border: 2px solid #ccc;
        border-radius: 30px;
        padding: 2px 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: #2b0145;
        color: #FFF;
        font-weight: 500;
        font-size: 10px;
    }

    .img-page {
        width: 100%;
    }

    .card-mini {
        font-size: 10px;
        height: auto;
        padding: 15px;
    }

    .card-mini-2 {
        font-size: 10px;
        height: auto;
    }

    .history-navigation-box {
        font-size: 12px;
    }

    .row-cols-md-8>* {
        flex: unset;
        max-width: 47%;
        margin: auto;
        margin-bottom: 10px;
    }

    .row-cols-md-3>* {
        flex: unset;
        max-width: 100%;
    }

    .form-text {
        font-size: 10px;
    }

    .alert-warning {
        font-size: 10px;
    }

    .login-bg {
        height: 20vh;
        width: -webkit-fill-available;
    }

    .login-welcome {
        top: 50%;
        font-size: 30px;
        left: 10%;
    }

    .login-desc {
        font-size: 14px;
    }

    .login-button-container {
        width: 90%;
    }

    .trade-navigation-box {
        font-size: 14px;
    }

    .wallet-balance>* {
        flex: 0 0 auto;
        width: 48%;
    }

    .dashboard-figure {
        font-size: 18px;
    }

    .dashboard-card .card-header {
        font-size: 14px;
    }

    .dashboard-small-text {
        font-size: 10px;
    }

    .profile-card-container {
        display: none !important;
    }

    .announcement-message { 
        top: 63px;
        font-size: 8px;
        width: 100vw;
    }

    .breadcrumb { 
        top: 96px;
        width: 100vw;
    }

    .content {
        padding-top: 125px;
    }

    .navbar {
        width: 100vw;
    }
    
}


/* Custom styles for the tl-input-wrapper class */

/* For the red border on invalid inputs */
.tl-input-wrapper.has-error {
    border-color: #dc3545 !important;  /* Bootstrap's danger color */
    /* box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important; */
     /* Optional glow effect */
}

/* If you want to keep the original error message style but make it more Bootstrap-like */
.tl-input-wrapper .help-block {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Red border for checkbox when invalid */
.form-check.has-error .form-check-input.input-error {
    border: 1px solid #dc3545 !important;  /* Bootstrap's danger color */
    outline: 2px solid rgba(220, 53, 69, 0.25) !important;
}

/* Style for error message */
.form-check .help-block.custom-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    width: 100%;
}

/* For browsers that don't show border on checkboxes */
.form-check-input {
    border: 1px solid #ced4da;
    border-radius: 0.25em;
}

/* Error styling for Cloudflare Turnstile */
.form-group.has-error .cf-turnstile.turnstile-error {
    position: relative;
}

.form-group.has-error .cf-turnstile.turnstile-error::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #dc3545;
    border-radius: 4px;
    pointer-events: none;
    animation: pulse 1.5s infinite;
}

/* Error message styling */
.form-group .help-block.custom-label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #dc3545;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.required-field::after {
    content: " *";
    color: red;
}

/* Homepage Looping Banner */
@keyframes scrollBanner {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* .banner-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
} */

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollBanner 10s linear infinite; /* Default, will be overridden by JS */
}

.banner-item {
    display: inline-block;
    margin-right: 300px; /* Space between items */
}

/* Mobile Pagination */
.mobile-pagination {
    padding: 1rem 0;
}

.mobile-pagination .page-info {
    min-width: 100px;
    text-align: center;
}

.mobile-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hide all mobile cards initially */
.table-mobile-card {
    display: none;
}

/*Placement page */
.register-box {
    display: inline-block;
    background-color: #fff8dc; /* Light yellow background */
    border: 2px dashed #b3b3b3; /* Dashed border */
    border-radius: 8px; /* Rounded corners */
    padding: 10px 20px;
    text-align: center; /* Center content */
    width: 90.38px; /* Adjust width to your preference */
    height: 75px; /* Adjust height to your preference */
    box-sizing: border-box; /* Include padding in dimensions */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.empty-box {
    display: inline-block;
    background-color: white; /* Light yellow background */
    border: 2px dashed #b3b3b3; /* Dashed border */
    border-radius: 8px; /* Rounded corners */
    padding: 10px 20px;
    text-align: center; /* Center content */
    width: 90.38px; /* Adjust width to your preference */
    height: 100px; /* Adjust height to your preference */
    box-sizing: border-box; /* Include padding in dimensions */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.register-content {
    display: flex;
    flex-direction: column; /* Stack text and "+" vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.register-text {
    font-weight: bold;
    color: #333; /* Darker text color for "Register" */
    margin: 0;
}

.register-plus {
    font-size: 20px; /* Larger "+" symbol */
    color: #333; /* Same color as "Register" */
    margin: 0;
}