/* ========================================
   DASHBOARD LAYOUT
   ======================================== */

.b2b-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: var(--b2b-light-bg);
    gap: 0;
    align-items: start;
}

/* Hidden on desktop, shown via media query on mobile */
.b2b-sidebar-toggle { display: none; }
.b2b-sidebar-backdrop { display: none; }

.b2b-dashboard-sidebar {
    background: linear-gradient(180deg, #012c5c 0%, #001a38 100%);
    padding: var(--b2b-spacing-lg);
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100%;
    overflow-y: auto;
    box-shadow: var(--b2b-shadow-xl);
    align-self: stretch;
}

.b2b-dashboard-content {
    padding: var(--b2b-spacing-lg);
    overflow-y: auto;
}

/* Sidebar Header */
.b2b-dashboard-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: var(--b2b-spacing-lg);
    margin-bottom: var(--b2b-spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: opacity 0.2s;
}
a.b2b-dashboard-logo:hover {
    opacity: 0.85;
}

.b2b-dashboard-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--b2b-primary-gradient);
    border-radius: var(--b2b-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.b2b-dashboard-logo-text {
    color: var(--b2b-white);
    font-size: var(--b2b-font-size-xl);
    font-weight: 700;
}

/* Navigation Menu */
.b2b-dashboard-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove grey bullet dots from nav items */
.b2b-dashboard-nav ul,
.b2b-dashboard-nav li,
.b2b-dashboard-nav-item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.b2b-dashboard-nav-item {
    margin-bottom: 0.25rem;
    padding: 0 14px !important;
}

.b2b-dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--b2b-radius-md);
    transition: all var(--b2b-transition-base);
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 500;
}

.b2b-dashboard-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--b2b-white);
    transform: translateX(3px);
}

.b2b-dashboard-nav-link.active {
    background: rgba(0, 81, 168, 0.3);
    color: var(--b2b-white);
    box-shadow: 0 4px 12px rgba(0, 81, 168, 0.4);
}

.b2b-dashboard-nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* User Profile in Sidebar */
.b2b-dashboard-user {
    margin-top: auto;
    padding-top: var(--b2b-spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.b2b-dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--b2b-radius-md);
}

.b2b-dashboard-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--b2b-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.b2b-dashboard-user-details {
    flex: 1;
}

.b2b-dashboard-user-name {
    color: var(--b2b-white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.b2b-dashboard-user-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--b2b-font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   DASHBOARD HEADER
   ======================================== */

.b2b-dashboard-header {
    background: var(--b2b-white);
    padding: var(--b2b-spacing-md) var(--b2b-spacing-lg);
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow-md);
    margin-bottom: var(--b2b-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-dashboard-header-title {
    font-size: var(--b2b-font-size-3xl);
    font-weight: 700;
    color: var(--b2b-dark);
    margin: 0;
}

.b2b-dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========================================
   STATS CARDS
   ======================================== */

.b2b-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--b2b-spacing-md);
    margin-bottom: var(--b2b-spacing-lg);
}

.b2b-stat-card {
    background: var(--b2b-white);
    padding: var(--b2b-spacing-md);
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow-md);
    position: relative;
    overflow: hidden;
    transition: all var(--b2b-transition-base);
}

.b2b-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--b2b-primary-gradient);
}

.b2b-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--b2b-shadow-lg);
}

.b2b-stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--b2b-spacing-sm);
}

.b2b-stat-card-title {
    font-size: var(--b2b-font-size-sm);
    font-weight: 600;
    color: var(--b2b-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.b2b-stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--b2b-radius-md);
    background: linear-gradient(135deg, rgba(0, 81, 168, 0.1) 0%, rgba(1, 44, 92, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--b2b-primary-light);
}

.b2b-stat-card-value {
    font-size: var(--b2b-font-size-3xl);
    font-weight: 700;
    color: var(--b2b-dark);
    margin-bottom: 0.5rem;
}

.b2b-stat-card-change {
    font-size: var(--b2b-font-size-sm);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.b2b-stat-card-change.positive {
    color: var(--b2b-success);
}

.b2b-stat-card-change.negative {
    color: var(--b2b-danger);
}

/* ========================================
   DATA TABLE
   ======================================== */

.b2b-table-container {
    background: var(--b2b-white);
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow-md);
    overflow: hidden;
    margin-bottom: var(--b2b-spacing-lg);
}

.b2b-table-header {
    padding: var(--b2b-spacing-md) var(--b2b-spacing-lg);
    border-bottom: 2px solid var(--b2b-light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-table-title {
    font-size: var(--b2b-font-size-xl);
    font-weight: 700;
    color: var(--b2b-dark);
    margin: 0;
}

.b2b-table-actions {
    display: flex;
    gap: 0.5rem;
}

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

.b2b-table thead {
    background: var(--b2b-light-bg);
}

.b2b-table th {
    padding: 1rem var(--b2b-spacing-lg);
    text-align: left;
    font-size: var(--b2b-font-size-sm);
    font-weight: 700;
    color: var(--b2b-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2b-table td {
    padding: 1rem var(--b2b-spacing-lg);
    border-top: 1px solid var(--b2b-light-gray);
    color: var(--b2b-dark-gray);
}

.b2b-table tbody tr {
    transition: all var(--b2b-transition-fast);
}

.b2b-table tbody tr:hover {
    background: rgba(0, 81, 168, 0.03);
}

.b2b-table-pagination {
    padding: var(--b2b-spacing-md) var(--b2b-spacing-lg);
    border-top: 2px solid var(--b2b-light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.b2b-pagination-item {
    display: flex;
}

.b2b-pagination-link {
    padding: 0.5rem 0.875rem;
    border-radius: var(--b2b-radius-md);
    color: var(--b2b-dark-gray);
    text-decoration: none;
    transition: all var(--b2b-transition-fast);
}

.b2b-pagination-link:hover {
    background: var(--b2b-light-bg);
    color: var(--b2b-primary);
}

.b2b-pagination-link.active {
    background: var(--b2b-primary-gradient);
    color: var(--b2b-white);
}

/* ========================================
   CHARTS & ANALYTICS
   ======================================== */

.b2b-chart-card {
    background: var(--b2b-white);
    padding: var(--b2b-spacing-lg);
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow-md);
}

.b2b-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--b2b-spacing-md);
}

.b2b-chart-title {
    font-size: var(--b2b-font-size-xl);
    font-weight: 700;
    color: var(--b2b-dark);
    margin: 0;
}

.b2b-chart-filters {
    display: flex;
    gap: 0.5rem;
}

.b2b-chart-body {
    padding: var(--b2b-spacing-md) 0;
}

/* ========================================
   TABS
   ======================================== */

.b2b-tabs {
    margin-bottom: var(--b2b-spacing-lg);
}

.b2b-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--b2b-light-gray);
    padding-bottom: 0;
    list-style: none;
    margin: 0;
}

.b2b-tabs-nav-item {
    display: flex;
}

.b2b-tabs-nav-link {
    padding: 1rem 1.5rem;
    color: var(--b2b-gray);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--b2b-transition-fast);
}

.b2b-tabs-nav-link:hover {
    color: var(--b2b-primary);
}

.b2b-tabs-nav-link.active {
    color: var(--b2b-primary);
    border-bottom-color: var(--b2b-primary-light);
}

.b2b-tabs-content {
    padding-top: var(--b2b-spacing-lg);
}

.b2b-tab-pane {
    display: none;
}

.b2b-tab-pane.active {
    display: block;
    animation: b2b-fadeIn 0.3s ease-in;
}

/* ========================================
   MODAL/DIALOG
   ======================================== */

.b2b-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--b2b-transition-base);
}

.b2b-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.b2b-modal {
    background: var(--b2b-white);
    border-radius: var(--b2b-radius-xl);
    box-shadow: var(--b2b-shadow-xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: all var(--b2b-transition-base);
}

.b2b-modal-overlay.active .b2b-modal {
    transform: scale(1);
}

.b2b-modal-header {
    padding: var(--b2b-spacing-lg);
    border-bottom: 2px solid var(--b2b-light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-modal-title {
    font-size: var(--b2b-font-size-2xl);
    font-weight: 700;
    color: var(--b2b-dark);
    margin: 0;
}

.b2b-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--b2b-light-bg);
    border-radius: 50%;
    color: var(--b2b-dark-gray);
    cursor: pointer;
    transition: all var(--b2b-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.b2b-modal-close:hover {
    background: var(--b2b-danger);
    color: var(--b2b-white);
}

.b2b-modal-body {
    padding: var(--b2b-spacing-lg);
}

.b2b-modal-footer {
    padding: var(--b2b-spacing-lg);
    border-top: 2px solid var(--b2b-light-gray);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .b2b-dashboard {
        grid-template-columns: 1fr;
    }

    /* Sidebar slides in from left as overlay */
    .b2b-dashboard-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 100000;
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .b2b-dashboard-sidebar.active {
        left: 0;
        box-shadow: 4px 0 30px rgba(0,0,0,0.4);
    }

    /* Overlay backdrop when sidebar open */
    .b2b-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1999;
    }
    .b2b-sidebar-backdrop.active {
        display: block;
    }

    /* Hamburger toggle button */
    .b2b-sidebar-toggle {
        display: none !important;
    }

    .b2b-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .b2b-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .b2b-stats-grid {
        grid-template-columns: 1fr;
    }

    .b2b-table-container {
        overflow-x: auto;
    }

    .b2b-table {
        min-width: 600px;
    }
}

body.b2b-hide-theme-header-footer header,
body.b2b-hide-theme-header-footer footer,
body.b2b-hide-theme-header-footer .site-header,
body.b2b-hide-theme-header-footer .site-footer,
body.b2b-hide-theme-header-footer #header,
body.b2b-hide-theme-header-footer #footer,
body.b2b-hide-theme-header-footer .elementor-location-header,
body.b2b-hide-theme-header-footer .elementor-location-footer {
    display: none !important;
}

body.b2b-hide-theme-header-footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}




/* =========================================================
   FORCE MODAL UI UPGRADE (works even if classes differ)
   Base: #012c5c / #0051a8
   ========================================================= */

/* 1) Modal container (covers common classes) */
.b2b-modal,
.b2b-modal-content,
.b2b-modal-overlay .b2b-modal,
.b2b-modal-overlay .b2b-modal-content {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(1, 44, 92, 0.35) !important;
}

/* 2) Header (covers both header class + title bar area) */
.b2b-modal-header,
.b2b-modal .b2b-modal-header,
.b2b-modal-content .b2b-modal-header {
  background: linear-gradient(135deg, #012c5c, #0051a8) !important;
  color: #fff !important;
  border-bottom: none !important;
  padding: 18px 24px !important;
}

/* Title */
.b2b-modal-title,
.b2b-modal-header h2,
.b2b-modal-header h3 {
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  margin: 0 !important;
}

/* Close button */
.b2b-modal-close,
.b2b-modal-header .close,
.b2b-modal-header button {
  background: rgba(255,255,255,0.16) !important;
  color: #fff !important;
  border: none !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
}
.b2b-modal-close:hover,
.b2b-modal-header .close:hover,
.b2b-modal-header button:hover{
  background: rgba(255,255,255,0.30) !important;
}

/* 3) Body */
.b2b-modal-body,
.b2b-modal .b2b-modal-body,
.b2b-modal-content .b2b-modal-body {
  background: #f7f9fc !important;
  padding: 22px 24px !important;
}

/* 4) Labels */
.b2b-modal label,
.b2b-modal-body label,
.b2b-form-group label {
  color: #012c5c !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* 5) Inputs (covers all inputs inside modal) */
.b2b-modal input,
.b2b-modal select,
.b2b-modal textarea {
  border-radius: 12px !important;
  border: 1px solid #d0d9e8 !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  background: #fff !important;
}
.b2b-modal input:focus,
.b2b-modal select:focus,
.b2b-modal textarea:focus {
  outline: none !important;
  border-color: #0051a8 !important;
  box-shadow: 0 0 0 3px rgba(0,81,168,0.18) !important;
}

/* 6) Media buttons (Select from media library / select multiple images) */
.b2b-modal button,
.b2b-modal a.button,
.b2b-modal .button {
  border-radius: 12px !important;
}

/* 7) Footer */
.b2b-modal-footer {
  background: #fff !important;
  border-top: 1px solid #e5eaf2 !important;
  padding: 18px 24px !important;
  gap: 12px !important;
}

/* Cancel button (if it's a normal button) */
.b2b-modal-footer button:first-child {
  background: #fff !important;
  border: 1px solid #d0d9e8 !important;
  color: #012c5c !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
}

/* Save / Primary button (last button usually) */
.b2b-modal-footer button:last-child {
  background: linear-gradient(135deg, #012c5c, #0051a8) !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 22px rgba(0,81,168,0.35) !important;
}
.b2b-modal-footer button:last-child:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(0,81,168,0.45) !important;
}

/* 8) Scrollbar inside modal (nice look) */
.b2b-modal::-webkit-scrollbar { width: 10px; }
.b2b-modal::-webkit-scrollbar-thumb {
  background: rgba(0,81,168,0.25);
  border-radius: 999px;
}
.b2b-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(0,81,168,0.40);
}




/* =========================================
   BUTTON COLOR FIX – FINAL (Exact selectors)
   ========================================= */

/* ── Media / Upload buttons → Blue, white text ── */
button.b2b-btn.b2b-btn-secondary,
button.b2b-btn.b2b-btn-secondary *,
#upload-product-image,
#upload-product-image *,
#upload-product-gallery,
#upload-product-gallery *,
#upload-profile-image,
#upload-profile-image *,
#upload-company-logo,
#upload-company-logo * {
    background: linear-gradient(135deg, #003a7a 0%, #0051a8 100%) !important;
    color: #ffffff !important;
    border-color: #0051a8 !important;
}

button.b2b-btn.b2b-btn-secondary:hover,
button.b2b-btn.b2b-btn-secondary:hover *,
#upload-product-image:hover,
#upload-product-image:hover *,
#upload-product-gallery:hover,
#upload-product-gallery:hover *,
#upload-profile-image:hover,
#upload-profile-image:hover *,
#upload-company-logo:hover,
#upload-company-logo:hover * {
    background: linear-gradient(135deg, #001a38 0%, #003a7a 100%) !important;
    color: #ffffff !important;
    border-color: #001a38 !important;
}

/* Primary buttons – white text always */
button#add-pricing-tier-btn,
button#add-pricing-tier-btn *,
button.b2b-btn.b2b-btn-primary,
button.b2b-btn.b2b-btn-primary * {
    color: #ffffff !important;
}


/* Force embedded messages shortcode to behave inside dashboard tab */
#tab-messages .wds-global-chat-badge,
#tab-messages .wds-global-chat-window {
  position: static !important;
  inset: auto !important;
}

#tab-messages .wds-global-chat-window {
  width: 100% !important;
  max-width: 100% !important;
  height: 520px !important;
  max-height: 70vh !important;
  border-radius: 14px !important;
}
/* ========================================
   MOBILE BOTTOM NAV BAR
   ======================================== */

.b2b-mob-nav {
    display: none; /* hidden on desktop */
}

@media (max-width: 1024px) {

    /* Spacer so content doesn't hide under nav */
    .b2b-mob-nav-spacer {
        height: 72px;
    }

    .b2b-mob-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1500;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 24px rgba(1, 44, 92, 0.12);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: flex-start;
    }

    .b2b-mob-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 8px;
        border-radius: 14px;
        text-decoration: none !important;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
        min-width: 52px;
        position: relative;
        transition: color 0.2s, background 0.2s;
        cursor: pointer;
    }

    .b2b-mob-nav-item i {
        font-size: 20px;
        line-height: 1;
        transition: transform 0.2s;
    }

    .b2b-mob-nav-item span {
        font-size: 10px;
    }

    .b2b-mob-nav-item.active {
        color: #012c5c;
        background: rgba(0, 81, 168, 0.08);
    }

    .b2b-mob-nav-item.active i {
        transform: translateY(-2px);
    }

    .b2b-mob-nav-item:active {
        transform: scale(0.93);
    }

    /* Notification dot with pulse animation */
    .b2b-mob-dot {
        position: absolute;
        top: 4px;
        right: 8px;
        width: 10px;
        height: 10px;
        background: #ef4444;
        border-radius: 50%;
        border: 2px solid #fff;
        animation: b2b-dot-pulse 1.5s ease-in-out infinite;
    }

    @keyframes b2b-dot-pulse {
        0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
        50%  { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
        100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
    }
}

/* ── Live Nav Badge (Inquiries + Messages sidebar) ── */
.b2b-nav-live-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff !important;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.5);
    border: 2px solid rgba(255,255,255,0.3);
    animation: b2b-badge-pop 0.25s ease;
}

@keyframes b2b-badge-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    70%  { transform: scale(1.25); }
    100% { transform: scale(1);   opacity: 1; }
}

/* ── Override theme styles: remove dots + underlines from sidebar nav ── */
#b2b-sidebar ul,
#b2b-sidebar li,
.b2b-dashboard-sidebar ul,
.b2b-dashboard-sidebar li {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.b2b-dashboard-sidebar a,
.b2b-dashboard-nav-link,
.b2b-dashboard-nav-link:hover,
.b2b-dashboard-nav-link:focus,
.b2b-dashboard-nav-link:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ══════════════════════════════════════════════════
   CONSISTENT FORM INPUTS — All dashboard fields
   Rounded grey border for all inputs/selects/textareas
══════════════════════════════════════════════════ */
.b2b-dashboard-content input[type="text"],
.b2b-dashboard-content input[type="number"],
.b2b-dashboard-content input[type="tel"],
.b2b-dashboard-content input[type="email"],
.b2b-dashboard-content input[type="url"],
.b2b-dashboard-content input[type="password"],
.b2b-dashboard-content input[type="date"],
.b2b-dashboard-content input[type="search"],
.b2b-dashboard-content select,
.b2b-dashboard-content textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    border: 1.5px solid #d1d5db !important;
    border-radius: 10px !important;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.b2b-dashboard-content select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.b2b-dashboard-content input[type="text"]:focus,
.b2b-dashboard-content input[type="number"]:focus,
.b2b-dashboard-content input[type="tel"]:focus,
.b2b-dashboard-content input[type="email"]:focus,
.b2b-dashboard-content input[type="url"]:focus,
.b2b-dashboard-content input[type="password"]:focus,
.b2b-dashboard-content input[type="date"]:focus,
.b2b-dashboard-content input[type="search"]:focus,
.b2b-dashboard-content select:focus,
.b2b-dashboard-content textarea:focus {
    border-color: #0051a8 !important;
    box-shadow: 0 0 0 3px rgba(0, 81, 168, 0.1) !important;
}

.b2b-dashboard-content textarea {
    min-height: 100px;
    resize: vertical;
}

.b2b-dashboard-content input::placeholder,
.b2b-dashboard-content textarea::placeholder {
    color: #94a3b8;
}

/* Don't override hidden inputs, checkboxes, radios, file inputs */
.b2b-dashboard-content input[type="hidden"],
.b2b-dashboard-content input[type="checkbox"],
.b2b-dashboard-content input[type="radio"],
.b2b-dashboard-content input[type="file"],
.b2b-dashboard-content input[type="range"] {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
    width: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}
