
.group__account{outline: none!important;border: none!important;background: transparent!important;}
.group__account .box-icon {flex: 0 0 35px; width: 35px; position: relative; }
.group__account .box-text {flex: 0 0 calc(100% - 35px); width: calc(100% - 35px); font-size: 13px; font-weight: 500; text-align: left; }
.group__account .small-text {display: block; font-weight: 500; flex: 0 0 100%; }

/*===*/
.dropdown__account button {background: transparent!important; padding: 0px!important; margin-left: 10px; border: none; color: #333; 
    outline: none!important; box-shadow: none!important; position: relative; top: -2px; }
.dropdown__account .dropdown-toggle::after {color: #333;margin-left: 2px}
.dropdown__account button:hover,.dropdown__account .show button {color: var(--color-r)!important; }
.dropdown__account .dropdown-toggle:hover::after,.dropdown__account .show .dropdown-toggle::after {color: var(--color-r)!important; }
.dropdown__account .dropdown-menu {padding: 0px; }
.dropdown__account .dropdown-divider {margin: 0px; }
.dropdown__account .dropdown-item {padding: 0.5rem 1.5rem; font-size: 15px; }
.dropdown__account .dropdown-item:focus,.dropdown__account .dropdown-item:hover {background: var(--color-r)!important; color: #fff!important; }
/*===*/
.login-css button{background: transparent!important;padding: 0px!important;margin-left: 10px;
	border: none;color: #fff;outline: none!important;box-shadow: none!important;position: relative;top: -2px;}
.login-css .dropdown-toggle::after{color: #fff;}
.login-css button:hover,.login-css .show button{color: var(--color-r)!important;}
.login-css .dropdown-toggle:hover::after,
.login-css .show .dropdown-toggle::after{color: var(--color-r)!important;}

.login-css .dropdown-menu{padding: 0px;}
.login-css .dropdown-divider{margin: 0px;}
.login-css .dropdown-item{padding:0.5rem 1.5rem;font-size: 15px;}
.login-css .dropdown-item:focus,.login-css .dropdown-item:hover{background: var(--color-r)!important;color: #fff!important;}

a,a:hover,a:focus{color: var(--color-r);}
.wrap-user{width:100%;max-width:550px;margin:auto;border:1px solid #bce8f1;
    border-radius:5px;}
.title-user{background-color:var(--color-r);padding:12px 15px;border-radius:5px 5px 0px 0px;}
.title-user span{color:#fff;font-weight:700;text-transform: uppercase;}
.title-user a{color:#0056b3;font-size:12px;}
.form-user{padding:20px 15px;}
.input-user{margin-bottom:0.75rem;}
.input-user input{font-size:14px;}
.button-user{margin-bottom:1rem;}
.button-user input{font-size:14px;}
.checkbox-user,.radio-user{cursor:pointer;}
.checkbox-user input{top:calc(50% - 1.25rem/2);height:auto;}
.checkbox-user label{font-size:14px;cursor:pointer;}
.checkbox-user label::before,.checkbox-user label::after{top:calc(50% - 1rem/2);}
.radio-user{margin-right:1rem;}
.radio-user:last-child{margin-right:0px;}
.radio-user label::before,.radio-user label::after{top:calc(50% - 1rem/2);}
.note-user{font-size:14px;border-top:1px solid #ddd;padding-top:0.5rem;}
.btn-primary-cs{
    border-color: var(--color-r)!important;
    background-color: var(--color-r);
}
.btn-primary-cs:hover,.btn-primary-cs:focus{
    border-color: var(--color-r)!important;
    background-color: var(--color-r)!important;
}
/*====*/

.modal__account{font-family: var(--font-r3)}
.modal__account .modal-body {
    padding-top: 0;
}
.modal__account .modal-header .close {
    padding: 0px;margin: 0px;
    position: absolute;top: 10px;right: 15px;color: #fff;
}

.modal__account .modal-content {
    background-color: #000;color: #7a7a7a;
}
.modal__account .modal-header {
    padding-top: 1.5rem;border-bottom: none;
}
.modal__account .modal-header .modal-title {
    text-transform: uppercase;font-weight: 700;padding-left: 0;color: #fff;text-align: center;width: 100%
}
.modal__account .btn:not(.btn-link) {
    display: block;width: 100%
}
.modal__account .btn-link {
    display: inline;padding: 0;text-transform: inherit;font-size: .8rem;color: inherit;vertical-align: inherit;line-height: inherit
}
.modal__account .btn-link:hover {
    color: #fff!important
}
.modal__account .separator {
    color: #4d4d4d;text-transform: uppercase;text-align: center;position: relative;margin-bottom: 15px
}
.modal__account .separator span {
    display: inline-block;padding: 0 10px;background: #000;font-size: .75rem;position: relative;z-index: 1;color: #eee
}
.modal__account .separator::before {
    content: "";width: 100%;height: 1px;background-color: #4d4d4d;top: 50%;position: absolute;left: 0
}
.modal__account p {
    text-align: center
}
.modal__account p a {
    color: inherit;text-decoration: underline
}
.modal__account .forget-password{
    font-size: .75rem
}
.modal__account .forget-password{
    margin-bottom: 0px;
}
.modal__account .register-hint {
    font-size: .9rem;color: #fff;margin-bottom: 0px;
}
.modal__account .register-hint .btn-link {
    font-size: 1em
}
.modal__account label {
    font-weight: 700;font-size: .75rem;margin-bottom: 0
}

.btn-login-facebook {
    background-color: #4568b1!important;border-color: #4568b1!important;color: #fff!important;
}

.account__input{
    outline:none!important;box-shadow: none!important;border: none!important;border-radius: 5px;background: #fff;
    width: 100%;padding: 12px 10px;
}
.account__group{margin-bottom: 15px}
.account__group-container {
    position: relative;
}
.account__group-container .reveal {
    position: absolute;cursor: pointer;top: 15px;right: 8px;color: var(--color-r)
}

.account__btn{
    outline: none!important;box-shadow: none!important;border: none!important;border-radius: 5px;
    background: var(--color-r);color: #fff;text-transform: uppercase;padding: 10px 20px;width: 100%;font-weight: 700;
    font-size: 15px;
}

@media (min-width: 576px){
	.modal__account .modal-dialog {
	    max-width: 400px;margin: 1.75rem auto;  
	}
}

/*====*/
.learner-profile {
    margin-top: 42px;
   
}
.learner-profile .image-box {
    background-color: rgba(33, 33, 33, .42)
}
.learner-profile .image-box h4{font-weight:700;font-size: 20px;color: var(--color-r);}
.learner-profile .quick-stats-number {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 5px
}
.learner-profile .quick-stats-desc {
    text-transform: uppercase;
    color: #6c757d;
    font-size: 12px
}
.learner-profile .connections .btn {
    -webkit-box-flex: 1;
    flex: 1 0
}
.learner-profile .connections .btn + .btn {
    margin-left: 32px
}
.learner-profile .connections .btn-google {
    background-color: #f14336
}
.learner-profile .connections .btn-facebook {
    background-color: #385c8e
}
.learner-profile .actions button {
    color: #CCB456;
    border: none;
    background: 0 0
}
.learner-profile .actions button:hover {
    text-decoration: underline
}
.learner-profile .tab-content {
    margin-top: 32px
}

.box-edit{width: 35px;height: 35px;border-radius: 50%;border:2px solid var(--color-r);background: #fff;color:var(--color-r);position: absolute;bottom: 10px;right: 10px;display: flex;align-items: center;justify-content: center;cursor: pointer;}
.box-edit i{position: absolute;top: 50%;left: 50%;transform: translate(-35%,-50%);cursor: pointer;}
#file{position:relative;z-index: 1;text-indent: -99999px;width: 30px;height: 30px;outline: none;cursor: pointer;}
#readURL{border:3px solid var(--color-r)}
.profile-image {
    position: relative;
    border: 1px solid #0003;
}
.nav-tabs-line {
    border-bottom: 1px solid #fff2;
    flex-wrap: nowrap
}
.nav-tabs-line .nav-item {
    -webkit-box-flex: 1;
    flex-grow: 1;
    text-align: center
}
.nav-tabs-line .nav-link {
    padding: 16px;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    background-color: transparent;
    -webkit-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out
}
@media (min-width:992px) {
    .nav-tabs-line .nav-item + .nav-item {
        margin-left: 5px
    }
    .nav-tabs-line .nav-item {
        -webkit-box-flex: 0;
        flex-grow: 0
    }
    .nav-tabs-line .nav-link {
        padding: 16px 30px
    }
}
@media (max-width: 850px){
    .d-sm-none-custom {
        display: none;
    }
}
.nav-tabs-line .nav-link::before {
    content: "";
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out
}
.nav-tabs-line .nav-link:focus,
.nav-tabs-line .nav-link:hover {
    border-color: transparent
}
.nav-tabs-line .nav-link:hover::before {
    background-color: var(--color-r)
}
.nav-tabs-line .nav-link.active {
    border-color: transparent;
    background-color: transparent;
    color: var(--color-r)
}
.nav-tabs-line .nav-link.active::before {
    background-color: var(--color-r)
}

.transaction-list table.table-dark tbody td, .transaction-list table.table-dark tbody th {
    background-color: #000;
}

/*===*/
.box__fillter{
    border:1px solid #e2e2e2;
    margin-bottom: 30px;
    padding: 5px;
}
.tit__fillter{
    padding: 10px 15px;
    background-color: #f5f5f5;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}
.collapse__fillter{padding: 0px 15px;}
.checkbox__fillter{padding: 7px 0px;border-bottom: 1px solid #eee;color: #222;
    font-size: 16px;font-weight: 400;display: flex;align-items: center;
    justify-content: space-between;}
.checkbox__fillter label{width: 100%;margin-bottom: 0px;margin-right: 10px;cursor: pointer;}
.checkbox__fillter label:hover{color: var(--color-r);}
.checkbox__fillter span{font-size: 13px;color: #888;}
.checkbox__fillter:last-child{border: none;padding-bottom: 0px;}
.checkbox__fillter input[type="radio"]{display: none;}
.checkbox__fillter label {
    position: relative;
    padding-left: 25px;
}
.checkbox__fillter label:before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border: 1px solid var(--color-r);
    position: absolute;
    left: 0;
    top: 5px;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
} 
.checkbox__fillter.active label:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
    left: 0px;
    top: 0px;
    position: absolute;
    transform: scale(0.7);
    color: var(--color-r);
}
/*===*/
.scroll-y{max-height: 255px;overflow-y: auto;}  
.scroll-y::-webkit-scrollbar {
    width: 3px;
}
.scroll-y::-webkit-scrollbar-track {
    background: auto;
}
.scroll-y::-webkit-scrollbar-thumb {
    background: var(--color-r);
    border-radius: 15px;
}

/* ========================================================
   AUTH SYSTEM - LOGIN & REGISTER (WHOLESALE CUSTOMER)
   ======================================================== */
.wrap-auth-fullscreen {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.auth-page-wrapper {
    width: 100%;
    padding: 50px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.auth-page-login {
    background-color: #ececec;
    min-height: calc(100vh - 220px);
}

.auth-page-register,
.auth-page-forgot {
    background-color: #f7f9fa;
    min-height: calc(100vh - 220px);
}

.auth-card-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card-register {
    max-width: 580px;
}

.auth-card-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 38px 36px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* Brand header */
.auth-brand-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-brand-logo {
    max-height: 55px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

.auth-brand-slogan {
    font-size: 13px;
    font-weight: 500;
    color: #333333;
    margin-top: 6px;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

/* Breadcrumb & Titles */
.auth-breadcrumb-wrap {
    margin-bottom: 6px;
}

.auth-breadcrumb-link {
    color: #c8102e !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
}

.auth-breadcrumb-link:hover {
    text-decoration: underline !important;
}

.auth-page-title {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.auth-page-subtitle {
    font-size: 13.5px;
    color: #718096;
    margin-bottom: 22px;
}

/* Form controls - Login */
.auth-form-group {
    margin-bottom: 16px;
}

.auth-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    display: block;
}

.auth-input-login {
    background-color: #eef4fc !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 6px !important;
    height: 44px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    color: #1a202c !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.auth-input-login:focus {
    background-color: #ffffff !important;
    border-color: #3182ce !important;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15) !important;
    color: #1a202c !important;
}

.auth-forgot-link {
    color: #c8102e !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.auth-forgot-link:hover {
    text-decoration: underline !important;
}

.auth-btn-login {
    background-color: #c8102e !important;
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    padding: 10px 24px !important;
    width: auto !important;
    display: inline-block;
    transition: all 0.25s ease;
    cursor: pointer;
}

.auth-btn-login:hover {
    background-color: #a50d25 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.auth-bottom-switch {
    font-size: 13.5px;
    color: #4a5568;
}

.auth-bottom-switch a,
.auth-link-bold {
    color: #c8102e !important;
    font-weight: 700;
    text-decoration: none !important;
}

.auth-bottom-switch a:hover,
.auth-link-bold:hover {
    text-decoration: underline !important;
}

/* ========================================================
   Form controls - Register (Pill Style from Mockup 2)
   ======================================================== */
.auth-pill-group {
    margin-bottom: 16px;
}

.auth-input-pill {
    border-radius: 999px !important;
    border: 1.5px solid #d5d9df !important;
    height: 46px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.auth-input-pill:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
}

.auth-input-pill::placeholder {
    color: #8c959f !important;
    font-weight: 400;
}

.auth-policy-checkbox label {
    font-size: 13.5px;
    color: #2d3748;
    cursor: pointer;
    line-height: 1.5;
}

.auth-policy-link {
    color: #0044cc !important;
    text-decoration: underline !important;
    font-weight: 500;
}

.auth-policy-link:hover {
    color: #002b80 !important;
}

.auth-btn-pill-black {
    border-radius: 999px !important;
    background-color: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
    padding: 12px 20px !important;
    width: 100% !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

.auth-btn-pill-black:hover {
    background-color: #222222 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.auth-link-pill-blue {
    color: #0044cc !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.auth-link-pill-blue:hover {
    color: #002b80 !important;
    text-decoration: underline !important;
}

/* ========================================================
   WHOLESALE PRICE BADGE & DISPLAY
   ======================================================== */
.badge-giasi {
    background: #e65100;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.product__priceWholesale {
    color: #d32f2f !important;
    font-weight: 800;
}

.price-wholesale {
    color: #d32f2f !important;
}

@media (max-width: 576px) {
    .auth-card-box {
        padding: 26px 20px 22px;
        border-radius: 12px;
    }
    .auth-page-title {
        font-size: 20px;
    }
}

/* ========================================================
   WHOLESALE CUSTOMER PORTAL - ACCOUNT & ORDERS (MOCKUPS 1, 2, 3)
   ======================================================== */
.portal-header {
    background-color: var(--color-r, #f15a2b);
    height: 68px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portal-header-inner {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.portal-brand-logo {
    display: inline-flex;
    align-items: center;
}

.portal-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.portal-header-catalog {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff !important;
    text-transform: uppercase;
    margin-left: 35px;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, opacity 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.portal-header-catalog:hover,
.portal-header-catalog:hover span {
    color: #ffd700 !important;
    text-decoration: none !important;
}

.portal-header-action {
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.portal-header-action:hover {
    opacity: 0.88;
    text-decoration: none !important;
}

.portal-header-action i {
    font-size: 15px;
}

.portal-cart-icon-wrap {
    position: relative;
    display: inline-block;
}

.portal-cart-badge {
    background: #ffffff !important;
    color: var(--color-r, #f15a2b) !important;
    font-weight: 800;
    font-size: 10.5px;
    padding: 2px 6px;
    position: relative;
    top: -6px;
    margin-left: -5px;
}

/* Portal Body */
.portal-body-wrapper {
    background-color: #f4f6f8;
    min-height: calc(100vh - 68px);
    padding: 28px 15px 50px;
    box-sizing: border-box;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar */
.portal-sidebar-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f3;
    overflow: hidden;
}

.portal-sidebar-user-header {
    padding: 20px 16px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.portal-user-phone {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
}

.portal-user-name {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-sidebar-nav {
    padding: 10px 8px;
}

.portal-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.portal-nav-item i {
    font-size: 15px;
    width: 22px;
    text-align: center;
    color: #64748b;
}

.portal-nav-item:hover {
    background-color: #f8fafc;
    color: #c8102e !important;
}

.portal-nav-item:hover i {
    color: #c8102e;
}

.portal-nav-item.active {
    background-color: #c8102e !important;
    color: #ffffff !important;
    font-weight: 700;
}

.portal-nav-item.active i {
    color: #ffffff !important;
}

.portal-nav-logout {
    border-top: 1px solid #f1f5f9;
    margin-top: 8px;
    padding-top: 14px;
    color: #64748b !important;
}

.portal-nav-logout:hover {
    color: #ef4444 !important;
}

.portal-nav-logout:hover i {
    color: #ef4444 !important;
}

/* Right Content Box */
.portal-card-box {
    background: #ffffff;
    border-radius: 6px;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f3;
}

.portal-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.portal-form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.portal-input {
    border-radius: 4px !important;
    border: 1px solid #cbd5e1 !important;
    height: 44px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.portal-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.portal-input::placeholder {
    color: #94a3b8;
}

.portal-date-wrap {
    position: relative;
}

.portal-calendar-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 15px;
}

.portal-btn-blue {
    background-color: #2563eb !important;
    border: none !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    padding: 10px 28px !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.portal-btn-blue:hover {
    background-color: #1d4ed8 !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* Orders List Tab (Image 3) */
.portal-orders-title {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portal-orders-table {
    border: none;
    margin-bottom: 0;
}

.portal-orders-table th {
    border-top: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    padding: 14px 12px;
}

.portal-orders-table td {
    border-top: 1px solid #f1f5f9 !important;
    padding: 14px 12px;
    font-size: 13.5px;
    vertical-align: middle;
}

.portal-badge {
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.2px;
}

.portal-badge-pending {
    background-color: #64748b;
    color: #ffffff;
}

.portal-badge-confirmed {
    background-color: #3b82f6;
    color: #ffffff;
}

.portal-badge-packing {
    background-color: #f59e0b;
    color: #ffffff;
}

.portal-badge-shipping {
    background-color: #06b6d4;
    color: #ffffff;
}

.portal-badge-completed {
    background-color: #10b981;
    color: #ffffff;
}

.portal-badge-cancelled {
    background-color: #ef4444;
    color: #ffffff;
}

.portal-btn-detail {
    background-color: #2563eb !important;
    border: none !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    display: inline-block;
    transition: all 0.2s ease;
}

.portal-btn-detail:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
}

/* Order Detail (Image 2) */
.portal-order-detail-header {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.portal-order-detail-time {
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

/* Stepper Timeline (Image 2) */
.portal-stepper-wrapper {
    padding: 20px 10px;
    background: #ffffff;
}

.portal-stepper-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.portal-step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.portal-step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 16px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.portal-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.portal-step-sub {
    font-size: 11px;
    color: #94a3b8;
}

.portal-step-item.active .portal-step-circle {
    border-color: #10b981;
    color: #10b981;
    background-color: #ecfdf5;
}

.portal-step-item.active .portal-step-label {
    color: #0f172a;
    font-weight: 700;
}

.portal-step-line {
    flex: 1;
    height: 2px;
    background-color: #e2e8f0;
    position: relative;
    top: 22px;
    z-index: 1;
    margin: 0 -15px;
}

.portal-step-line.active {
    background-color: #10b981;
}

.portal-divider-dash {
    border: 0;
    border-top: 1px dashed #cbd5e1;
}

.portal-section-subheading {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.portal-history-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3b82f6;
    display: inline-block;
    margin-top: 6px;
}

.portal-item-thumb img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.portal-grand-total {
    font-size: 22px;
    font-weight: 800;
    color: #c8102e;
}

.portal-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================================================
   WHOLESALE CATALOG STYLES (Mockups 1, 2, 3, 4)
   ========================================================================== */
.wholesale-catalog-wrapper {
    padding: 10px 0 30px;
}

.wholesale-heading-main {
    font-size: 26px;
    font-weight: 800;
    color: #ea541e;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.wholesale-group-card {
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.wholesale-group-card:hover {
    text-decoration: none !important;
}

.wholesale-card-img-wrap {
    height: 290px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wholesale-card-img-wrap img {
    width: 100%;
    height: 100%;
}

.wholesale-card-img-wrap img[src*="noimage"],
.wholesale-sidebar-sub-thumb img[src*="noimage"],
.wholesale-product-img-box img[src*="noimage"] {
    width: auto !important;
    height: auto !important;
    max-width: 65% !important;
    max-height: 65% !important;
    object-fit: contain !important;
    opacity: 0.65;
}

.wholesale-card-img-wide {
    height: 220px;
}

.wholesale-card-bar {
    background: #ea541e;
    color: #ffffff;
    padding: 11px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 0;
}

.wholesale-back-btn {
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 0;
}

/* Sidebar Bước 3 */
.wholesale-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 16px;
}

.wholesale-sidebar-main-title {
    font-size: 15px;
    font-weight: 800;
    color: #ea541e !important;
    text-transform: uppercase;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #ea541e;
    letter-spacing: 0.5px;
}

.wholesale-sidebar-group-title {
    background: #ea541e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
    text-transform: uppercase;
    border-radius: 0;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.wholesale-sidebar-sub-items {
    margin: 0 -3px;
}

.wholesale-sidebar-sub-item {
    width: calc(50% - 6px);
    margin: 3px;
    padding: 8px 4px;
    border: 1px solid #f1f5f9;
    border-radius: 0;
    background: #fafafa;
    transition: all 0.2s ease;
}

.wholesale-sidebar-sub-item:hover,
.wholesale-sidebar-sub-item.active {
    border-color: #ea541e;
    background: #fff8f5;
    text-decoration: none !important;
}

.wholesale-sidebar-sub-thumb {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #e2e8f0;
}

.wholesale-sidebar-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wholesale-sidebar-sub-name {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-top: 6px;
    line-height: 1.25;
}

.wholesale-sidebar-sub-item.active .wholesale-sidebar-sub-name {
    color: #ea541e;
}

/* Lưới Sản phẩm Bước 3 */
.wholesale-product-title-heading {
    font-size: 22px;
    font-weight: 800;
    color: #ea541e;
    letter-spacing: 0.5px;
}

.wholesale-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.wholesale-product-card:hover {
    border-color: #ea541e;
}

.wholesale-product-img-box {
    height: 270px;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wholesale-product-img-box img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
}

.wholesale-product-colors {
    min-height: 28px;
}

.wholesale-color-dot,
.wholesale-product-card .opt__color span {
    width: 18px;
    height: 18px;
    padding: 0 !important;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wholesale-color-dot.active,
.wholesale-color-dot:hover,
.wholesale-product-card .opt__color span.active,
.wholesale-product-card .opt__color span:hover {
    outline-width: 2px !important;
    outline-style: solid !important;
    outline-offset: 2px !important;
}

.wholesale-product-name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0 0;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wholesale-product-name a:hover {
    color: #ea541e !important;
}

.wholesale-product-price {
    font-size: 16px;
    font-weight: 800;
    color: #ea541e;
}

.wholesale-cart-btn {
    background: #ffffff;
    color: #ea541e !important;
    border: 1px solid #ea541e;
    border-radius: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wholesale-cart-btn:hover {
    background: #ea541e;
    color: #ffffff !important;
}

/* Quick Order Modal (Mockup Image 1 & 2) */
.wholesale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.wholesale-modal-overlay.show {
    display: flex !important;
}

.wholesale-modal-dialog {
    width: 100%;
    max-width: 580px;
    margin: auto;
}

.wholesale-modal-content {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.wholesale-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.wholesale-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.wholesale-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
}

.wholesale-modal-close:hover {
    color: #ea541e;
}

.wholesale-modal-body {
    padding: 20px;
}

.wholesale-order-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 12px;
    border-top: none;
    border-bottom: 2px solid #e2e8f0;
}

.wholesale-order-table td {
    padding: 10px 12px;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
}

.wholesale-modal-qty-control {
    border: none;
}

.wholesale-modal-qty-input {
    width: 55px;
    height: 34px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    margin-right: 6px;
}

.wholesale-modal-qty-input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.wholesale-modal-qty-btn {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 1px solid #f87171;
    color: #ef4444;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    transition: all 0.2s;
}

.wholesale-modal-qty-btn:hover {
    background: #fef2f2;
}

.wholesale-modal-qty-btn:disabled {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #94a3b8;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.bg-light-outstock {
    background-color: #fafafa !important;
}

.wholesale-modal-bottom-row {
    border: 1px solid #e2e8f0;
    border-radius: 0;
    background: #f8fafc !important;
}

.wholesale-modal-color-preview {
    width: 90px;
    height: 90px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.wholesale-modal-color-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wholesale-btn-add-cart {
    background: #dc2626;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.wholesale-btn-add-cart:hover {
    background: #b91c1c;
    color: #ffffff;
}

/* Cart Review Styles */
.wholesale-cart-wrapper {
    padding-bottom: 30px;
}

.wholesale-cart-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;
}

.wholesale-cart-table td {
    padding: 14px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.wholesale-cart-thumb {
    width: 65px;
    height: 65px;
    background: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wholesale-cart-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wholesale-cart-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
}

.wholesale-qty-group {
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #ffffff;
}

.wholesale-qty-btn {
    width: 28px;
    height: 30px;
    background: #f8fafc;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    color: #475569;
}

.wholesale-qty-btn:hover {
    background: #e2e8f0;
}

.wholesale-qty-input {
    width: 45px;
    height: 30px;
    text-align: center;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    font-weight: 700;
    font-size: 13.5px;
}

.wholesale-cart-del {
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.wholesale-cart-del:hover {
    color: #ef4444 !important;
}

.wholesale-btn-submit-order {
    background: #ea541e;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 20px;
    border: none;
    border-radius: 0;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.wholesale-btn-submit-order:hover {
    background: #c83806;
    color: #ffffff;
}

.wholesale-btn-action {
    background: #ea541e;
    color: #ffffff !important;
    border: none;
    border-radius: 0;
    font-weight: 700;
    padding: 9px 18px;
}

.wholesale-btn-action:hover {
    background: #c83806;
}

/* Order Success Screen (Mockup Image 3) */
.wholesale-success-card {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 0;
}

.wholesale-success-title {
    font-size: 26px;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .portal-header-inner {
        padding: 0 16px;
    }
    .portal-header-catalog {
        font-size: 13px;
        margin-left: 15px;
    }
    .portal-card-box {
        padding: 24px 20px;
    }
    .portal-step-label {
        font-size: 11px;
    }
    .portal-step-sub {
        display: none;
    }
    .wholesale-card-img-wrap {
        height: 220px;
    }
    .wholesale-product-img-box {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .portal-header-catalog {
        display: none;
    }
    .wholesale-heading-main {
        font-size: 20px;
    }
}

/* Toast Notification for Wholesale Cart */
.wholesale-toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: calc(100% - 30px);
    pointer-events: none;
}

.wholesale-toast-item {
    background: #ffffff;
    color: #1e293b;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #10b981;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.wholesale-toast-item.show {
    transform: translateX(0);
    opacity: 1;
}

.wholesale-toast-item.hide {
    transform: translateX(110%);
    opacity: 0;
}

.wholesale-toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wholesale-toast-content {
    flex-grow: 1;
    min-width: 0;
}

.wholesale-toast-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2px;
}

.wholesale-toast-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.wholesale-toast-text strong {
    color: #ea541e;
    font-weight: 700;
}

.wholesale-toast-btn-cart {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff !important;
    background: #ea541e;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s;
}

.wholesale-toast-btn-cart:hover {
    background: #c83806;
    color: #ffffff !important;
}

.wholesale-toast-close {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 2px;
    transition: color 0.2s;
}

.wholesale-toast-close:hover {
    color: #334155;
}

@media (max-width: 576px) {
    .wholesale-toast-container {
        top: 15px;
        right: 15px;
        left: 15px;
        width: auto;
    }
    .wholesale-toast-item {
        padding: 10px 12px;
        gap: 8px;
    }
    .wholesale-toast-title {
        font-size: 13.5px;
    }
    .wholesale-toast-text {
        font-size: 12px;
    }
}
