/* থিম কালার ভিত্তিক হোলসেল উইজেট ও টেবিল */
.wholesale-tiered-wrapper {
    margin: 25px 0;
    max-width: 100%;
}

.wholesale-tiered-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    font-family: 'Inter', sans-serif;
    border: 1px solid #F1F3F5;
}

.wholesale-tiered-table th {
    background-color: #F8F9FA;
    color: #6C7A89;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid #E9ECEF;
}

.wholesale-tiered-table td {
    padding: 14px 20px;
    font-size: 15px;
    color: #2C3E50;
    border-bottom: 1px solid #F1F3F5;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.wholesale-tiered-table td:last-child,
.wholesale-tiered-table td:last-child span,
.wholesale-tiered-table td:last-child bdi,
.wholesale-tiered-table td .woocommerce-Price-amount,
.wholesale-tiered-table td .woocommerce-Price-amount * {
    color: #BA0000 !important;
    font-weight: 700;
}

.wholesale-tiered-table tbody tr:hover {
    background-color: #FFF0F0 !important;
}

.wholesale-tiered-table tbody tr.active-tier,
.wholesale-tiered-table tbody tr.active-tier:hover {
    background-color: #BA0000 !important; 
}

.wholesale-tiered-table tbody tr.active-tier td,
.wholesale-tiered-table tbody tr.active-tier td *,
.wholesale-tiered-table tbody tr.active-tier td:last-child,
.wholesale-tiered-table tbody tr.active-tier td:last-child *,
.wholesale-tiered-table tbody tr.active-tier:hover td,
.wholesale-tiered-table tbody tr.active-tier:hover td * {
    color: #FFFFFF !important;
}

/* ==========================================================================
   B2B WHOLESALE AUTH DOUBLE FORM STYLING (SHORTCODE)
   ========================================================================== */
.wholesale-auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 30px auto;
    max-width: 1100px;
    border: 1px solid #E9ECEF;
}

.wholesale-auth-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.b2b-subtext {
    font-size: 14px;
    color: #6C7A89;
    margin-bottom: 25px;
}

.b2b-form .form-row {
    margin-bottom: 18px;
}

.b2b-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2C3E50;
    margin-bottom: 8px;
}

.b2b-form label .required {
    color: #BA0000;
}

.b2b-form input[type="text"],
.b2b-form input[type="email"],
.b2b-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #FAFAFA;
}

.b2b-form input:focus {
    border-color: #BA0000;
    outline: none;
    background: #fff;
}

.b2b-submit-btn {
    width: 100%;
    background: #BA0000;
    color: #ffffff;
    padding: 9px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.b2b-submit-btn:hover {
    background: #900000;
}

.b2b-already-logged {
    padding: 20px;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.b2b-already-logged a {
    color: #BA0000;
    text-decoration: underline;
}

/* গেস্ট নোটিশ বাটন হোভার */
.b2b-notice-btn:hover {
    background: #900000 !important;
}

@media (max-width: 768px) {
    .wholesale-auth-container { 
        grid-template-columns: 1fr; 
        padding: 20px;
        gap: 30px;
    }
}