/* ============================================
   ASSETS/CSS/STYLE.CSS
   Modern B2B Marketplace Design
   Primary: Tomato (#DC3545)
   Secondary: Gold (#FFD700)
   ============================================ */

   :root {
    --primary: #DC3545;
    --primary-dark: #B22234;
    --primary-light: #FF6B7A;
    --primary-gradient: linear-gradient(135deg, #DC3545 0%, #B22234 100%);
    --secondary: #FFD700;
    --secondary-dark: #F0C000;
    --secondary-light: #FFED4A;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --dark: #1A1A2E;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--off-white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-primary-custom {
    background: var(--primary) !important;
}

.bg-primary-gradient {
    background: var(--primary-gradient) !important;
}

.bg-secondary-custom {
    background: var(--secondary) !important;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: var(--white);
}

.btn-secondary-custom {
    background: var(--secondary);
    border: none;
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    color: var(--dark);
}

.btn-outline-primary-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 3px solid var(--secondary);
}

.navbar-custom .navbar-brand img {
    height: 45px;
}

.navbar-custom .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
    background: rgba(220, 53, 69, 0.05);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 60%;
}

/* Search Bar in Navbar */
.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 1.5rem;
}

.search-wrapper .form-control {
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    background: var(--off-white);
    padding-right: 50px;
}

.search-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
    background: var(--white);
}

.search-wrapper .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-wrapper .btn-search:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Autocomplete */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1060;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
    border: 1px solid var(--gray-200);
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.autocomplete-item:hover {
    background: rgba(220, 53, 69, 0.05);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.autocomplete-item .product-title {
    font-weight: 600;
    color: var(--dark);
}

.autocomplete-item .product-price {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   CATEGORY BAR
   ============================================ */
.category-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-bar .category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    background: transparent;
}

.category-bar .category-link:hover {
    background: rgba(220, 53, 69, 0.08);
    color: var(--primary);
}

.category-bar .category-link i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--primary-gradient);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--secondary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-search {
    max-width: 600px;
    background: var(--white);
    border-radius: 60px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 8px;
}

.hero-search .form-control {
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

.hero-search .form-control:focus {
    box-shadow: none;
}

.hero-search .btn-hero-search {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-search .btn-hero-search:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.hero-stats .stat-item {
    color: var(--white);
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-badges .badge-custom {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card .product-image {
    position: relative;
    padding-top: 75%;
    background: var(--gray-100);
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-badge.featured {
    background: var(--secondary);
    color: var(--dark);
}

.product-card .product-body {
    padding: 1.25rem;
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.product-card .product-title a {
    color: var(--dark);
}

.product-card .product-title a:hover {
    color: var(--primary);
}

.product-card .supplier-name {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.product-card .supplier-name i {
    color: var(--primary);
}

.product-card .product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.product-card .product-price .unit {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-400);
}

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.product-card .product-meta .location {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.product-card .product-meta .location i {
    margin-right: 4px;
}

.product-card .btn-enquire {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.product-card .btn-enquire:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* ============================================
   RFQ CARDS
   ============================================ */
.rfq-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.rfq-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.rfq-card .rfq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.rfq-card .rfq-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.rfq-card .rfq-title a {
    color: var(--dark);
}

.rfq-card .rfq-title a:hover {
    color: var(--primary);
}

.rfq-card .rfq-badge {
    background: rgba(220, 53, 69, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rfq-card .rfq-badge.urgent {
    background: #FEE2E2;
    color: #DC2626;
}

.rfq-card .rfq-description {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rfq-card .rfq-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.rfq-card .rfq-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.rfq-card .rfq-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */
.category-section {
    padding: 4rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.category-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.category-item .category-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-item:hover .category-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1);
}

.category-item .category-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.category-item .category-count {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.dashboard-sidebar .sidebar-brand {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.dashboard-sidebar .sidebar-brand img {
    height: 35px;
}

.dashboard-sidebar .sidebar-menu {
    list-style: none;
    padding: 0;
}

.dashboard-sidebar .sidebar-menu li {
    padding: 0 0.75rem;
}

.dashboard-sidebar .sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
}

.dashboard-sidebar .sidebar-menu li a:hover {
    background: rgba(220, 53, 69, 0.05);
    color: var(--primary);
}

.dashboard-sidebar .sidebar-menu li a.active {
    background: var(--primary-gradient);
    color: var(--white);
}

.dashboard-sidebar .sidebar-menu li a i {
    width: 20px;
    text-align: center;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.stat-card .stat-icon.primary {
    background: rgba(220, 53, 69, 0.1);
    color: var(--primary);
}

.stat-card .stat-icon.secondary {
    background: rgba(255, 215, 0, 0.15);
    color: var(--secondary-dark);
}

.stat-card .stat-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.stat-card .stat-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-card .stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   SUBSCRIPTION PLANS
   ============================================ */
.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.popular {
    border-color: var(--secondary);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, var(--white) 100%);
}

.plan-card .plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-card .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.plan-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.plan-card .plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan-card .plan-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-card .plan-features li i {
    color: var(--primary);
    width: 20px;
}

.plan-card .plan-features li.disabled {
    color: var(--gray-400);
}

.plan-card .plan-features li.disabled i {
    color: var(--gray-400);
}

/* ============================================
   FORMS
   ============================================ */
.form-custom .form-control {
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    padding: 0.8rem 1.2rem;
    transition: var(--transition);
    background: var(--white);
}

.form-custom .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-custom .form-control.is-invalid {
    border-color: #DC2626;
}

.form-custom .form-control.is-valid {
    border-color: #10B981;
}

.form-custom .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-custom .form-text {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--off-white);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .auth-logo img {
    height: 50px;
}

.auth-card .auth-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.auth-card .auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-card .auth-divider span {
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal-custom .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-custom .modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.modal-custom .modal-header .modal-title {
    font-weight: 700;
    color: var(--dark);
}

.modal-custom .modal-header .btn-close {
    background: none;
    font-size: 1.5rem;
}

.modal-custom .modal-body {
    padding: 1.5rem;
}

.modal-custom .modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

.toast-custom {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    margin-bottom: 0.75rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast-custom.success {
    border-left-color: #10B981;
}

.toast-custom.error {
    border-left-color: #DC2626;
}

.toast-custom.warning {
    border-left-color: var(--secondary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-custom .page-link {
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 0.5rem 1rem;
    transition: var(--transition);
    margin: 0 2px;
    border-radius: 8px;
}

.pagination-custom .page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .dashboard-sidebar {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 1060;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .dashboard-sidebar.open {
        left: 0;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-search {
        flex-direction: column;
        border-radius: var(--radius);
        padding: 0.5rem;
    }
    
    .hero-search .btn-hero-search {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-wrapper {
        max-width: 100%;
        margin: 0.5rem 0;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-badges .badge-custom {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .product-card .product-title {
        font-size: 0.9rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-card .plan-price {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner-custom {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state .empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state .empty-description {
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

