/* yekan Font */


@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/woff/YekanBakhFaNum-thin.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-thin.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/woff/YekanBakhFaNum-Light.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/woff/YekanBakhFaNum-Bold.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/woff/YekanBakhFaNum-Black.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-Black.woff2') format('woff2');
}

@font-face {
    font-family: YekanBakhFaNum;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'), url('../fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
}

/* Global Styles */
body {
    font-family: YekanBakhFaNum, sans-serif;
    background-color: #f8fafc;
}

/* Custom Colors for B2B Theme */
:root {
    --primary-color: #4338CA;
    --primary-dark: #3730A3;
    --primary-light: #6366F1;
    --secondary-color: #0EA5E9;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --dark-color: #1E293B;
    --light-bg: #F8FAFC;
}

.landing-dark-bg {
    background-color: #1b1c22;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.7);
}

/* Stats Section */
.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-card img {
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Supply Request Cards */
.supply-card {
    border-right: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.supply-card:hover {
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.15);
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    color: var(--success-color);
    font-size: 14px;
    font-weight: 600;
}

/* Category Pills */
.category-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(67, 56, 202, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-pill:hover {
    background: var(--primary-color);
    color: white;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Feature Icons */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    color: white;
    font-size: 28px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }

    .section-title {
        font-size: 22px;
    }
}

/* RTL Fixes for Metronic */
[dir="rtl"] .menu-item {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .menu-link {
    text-align: right;
}

/* Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-drawer.active {
    visibility: visible;
    opacity: 1;
}

.mobile-drawer-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.mobile-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

[dir="ltr"] .mobile-drawer-content {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-drawer-body {
    padding: 1.5rem;
    flex: 1;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #1e293b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.mobile-menu-item:hover {
    background-color: #f1f5f9;
    color: #4338ca;
    transform: translateX(-4px);
}

[dir="ltr"] .mobile-menu-item:hover {
    transform: translateX(4px);
}

.mobile-menu-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .mobile-drawer-content {
        width: 100%;
        max-width: 100%;
    }
}




.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .auth-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
        background-size: cover;
        background-position: bottom;
    }

.auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.auth-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-auth {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

    .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .divider span {
        padding: 0 12px;
        color: #94a3b8;
        font-size: 14px;
    }

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quick-access {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
}