/*
 * TedariKey - Premium Design System Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #052e4f; /* Navy Blue HSL(206, 88%, 20%) */
    --secondary-color: #00a4bd; /* Cyan HSL(188, 100%, 40%) */
    --accent-color: #f59e0b; /* Amber/Yellow HSL(47, 92%, 55%) */
    --accent-hover: #d97706;
    --dark-text: #2f3e4e;
    --light-text: #ffffff;
    --bg-light: #f4f7f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--bg-light);
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

/* Header */
.top-header {
    background: linear-gradient(135deg, #002d50 0%, #053b62 100%);
    color: var(--light-text);
    padding: 15px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo a {
    font-size: 32px;
    font-weight: 700;
    color: var(--light-text);
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 800;
}

.search-box {
    flex: 1;
    max-width: 500px;
    display: flex;
    margin: 0 20px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.search-box button:hover {
    background-color: #0093aa;
}

.customer-service {
    text-align: right;
    font-size: 13px;
    color: #e2e8f0;
}

.customer-service strong {
    display: block;
    font-size: 18px;
    color: var(--light-text);
    margin-top: 2px;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0093aa 100%);
    color: var(--light-text);
}

.navbar-container {
    display: flex;
    align-items: stretch;
}

.categories-toggle {
    background-color: #002d50; /* Unified Dark Tab */
    width: 250px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--light-text);
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 20px;
    align-items: center;
}

.nav-links li a {
    color: var(--light-text);
    padding: 15px 20px;
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.nav-links li a:hover,
.nav-links li.active a {
    background-color: #009cb3;
}

.auth-links {
    margin-left: auto;
    display: flex;
    list-style: none;
    align-items: center;
}

.auth-links li a {
    color: var(--light-text);
    padding: 15px 15px;
    display: block;
    font-weight: 600;
}

.auth-links li a:hover {
    text-decoration: underline;
}

/* Layout Grid for Home */
.home-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
    margin-bottom: 30px;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Sidebar Categories */
.categories-list {
    background-color: #374652; /* Darker Slate Gray */
    list-style: none;
    min-height: 400px;
}

.categories-list li a {
    color: #e2e8f0;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #4a5a67;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s;
}

.categories-list li a:hover {
    background-color: #4a5a67;
    color: var(--light-text);
    padding-left: 25px;
}

/* Hero Section */
.hero-slider {
    background-color: #ffffff;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 450px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
}

/* Slide dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 40px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
}

.dot.active {
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #042947;
    color: var(--light-text);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-text);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #0093aa;
    color: var(--light-text);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--dark-text);
}

.btn-outline:hover {
    background-color: #f1f5f9;
}

/* Value Props Bar */
.features-bar {
    background-color: var(--bg-white);
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.feature-item {
    border-right: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 13px;
    color: #777;
}

/* Promo Boxes / Dash Info Section */
.info-section {
    padding: 40px 0;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    padding: 30px;
    border-radius: 8px;
    background-color: var(--bg-light);
    border-left: 5px solid var(--primary-color);
}

.info-card.supplier {
    border-left-color: var(--secondary-color);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.info-card.supplier h3 {
    color: var(--secondary-color);
}

.info-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Forms */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.auth-container h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Alert Boxes */
.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #e6f9f0;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 30px 0;
}

.dashboard-sidebar {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    align-self: start;
}

.user-profile-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 10px auto;
}

.user-profile-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.user-profile-info p {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dashboard-main {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-light);
    font-weight: 700;
    color: #555;
}

.table tbody tr:hover {
    background-color: #fcfdfe;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-open, .badge-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-closed, .badge-rejected {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-accepted {
    background-color: #d1fae5;
    color: #059669;
}

/* Detail view styling */
.detail-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin-bottom: 10px;
}

.detail-row strong {
    color: #555;
}

/* Messaging styling */
.messages-box {
    height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    background-color: #fafbfc;
    margin-bottom: 20px;
}

.msg-wrapper {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.msg-wrapper.me {
    align-items: flex-end;
}

.msg-wrapper.other {
    align-items: flex-start;
}

.msg-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
}

.msg-wrapper.me .msg-bubble {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-bottom-right-radius: 2px;
}

.msg-wrapper.other .msg-bubble {
    background-color: #e2e8f0;
    color: var(--dark-text);
    border-bottom-left-radius: 2px;
}

.msg-meta {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* Footer styling */
.main-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #666;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #666;
}

.newsletter-box p {
    color: #666;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.2s;
}

.social-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.bottom-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 12px;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 22px;
}

/* Modal form style */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Responsive utilities */
@media (max-width: 992px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
    .categories-list {
        display: none; /* Hide category sidebar on mobile home */
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        text-align: center;
    }
    .search-box {
        margin: 10px 0;
        width: 100%;
    }
    .customer-service {
        text-align: center;
    }
    .navbar-container {
        flex-direction: column;
    }
    .categories-toggle {
        width: 100%;
    }
    .nav-links {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .auth-links {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .hero-slider {
        flex-direction: column-reverse;
        padding: 30px 20px;
        text-align: center;
    }
    .hero-content {
        margin-top: 25px;
    }
    .hero-image img {
        max-height: 200px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }
    .feature-item:last-child {
        border-bottom: none;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .bottom-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Notifications dropdown style */
.notifications-dropdown-container {
    position: relative;
    display: inline-block;
}

.notifications-badge {
    background-color: var(--accent-color);
    color: var(--dark-text);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
}

.notifications-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}

.notifications-menu-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.notifications-list {
    list-style: none;
}

.notifications-list li {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
    transition: background-color 0.2s;
    line-height: 1.4;
}

.notifications-list li:hover {
    background-color: #f8fafc;
}

.notifications-list li.unread {
    background-color: #f0fdfa;
}

.notifications-list li h4 {
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--dark-text);
}

.notifications-list li p {
    color: #666;
    margin-bottom: 4px;
    font-size: 12px;
}

.notifications-list li small {
    color: #999;
    font-size: 10px;
}

/* Rating Form & Stars */
.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 24px;
    gap: 5px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #f59e0b;
}

.rating-display {
    color: #f59e0b;
    font-size: 14px;
}

/* File download link styling */
.file-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e2e8f0;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    border: 1px solid #cbd5e1;
}

.file-download-badge:hover {
    background-color: #cbd5e1;
    color: var(--primary-color);
}

/* Comparison Matrix Styling */
.comparison-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.comparison-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #cbd5e1;
    transition: transform 0.2s;
}

.comparison-card:hover {
    transform: translateY(-2px);
}

.comparison-card.cheapest {
    border-left-color: #10b981; /* Green for cheapest */
}

.comparison-card.fastest {
    border-left-color: #3b82f6; /* Blue for fastest */
}

.comparison-card.best-rated {
    border-left-color: #f59e0b; /* Yellow for best rated */
}

.comparison-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comparison-card .company-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.comparison-card .metric-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-text);
}

/* Public Company Profile styling */
.company-profile-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 40px 0;
    border-radius: 8px;
    margin-bottom: 30px;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: center;
}

.company-profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.company-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-profile-logo i {
    font-size: 50px;
    color: #cbd5e1;
}

.company-details h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.company-meta-badges {
    display: flex;
    gap: 15px;
    font-size: 13px;
    opacity: 0.9;
}

/* Image preview for logo uploads */
.logo-upload-preview {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 10px;
    background-color: var(--bg-light);
}

.logo-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Advanced filter bar styling */
.filter-bar {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.filter-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 120px;
    gap: 15px;
    align-items: end;
}

.filter-form-grid label {
    color: white;
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.filter-form-grid .form-control {
    background-color: white;
    border: none;
    height: 38px;
}

/* Premium Glassmorphism & Shadow Overrides */
.dashboard-main, .dashboard-sidebar, .detail-card, .comparison-card, .filter-bar {
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 30px rgba(5, 46, 80, 0.03) !important;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-main:hover, .dashboard-sidebar:hover, .detail-card:hover, .filter-bar:hover {
    box-shadow: 0 15px 35px rgba(5, 46, 80, 0.05) !important;
}

/* Stats Widgets Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.stat-card {
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(5, 46, 80, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(5, 46, 80, 0.07);
}
.stat-card .stat-info h3 {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.stat-card .stat-info .stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}
.stat-card .stat-icon {
    font-size: 26px;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
    height: 60px;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    border-top: 1px solid var(--border-color);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 10px;
    text-decoration: none;
    position: relative;
    flex: 1;
    height: 100%;
    font-weight: 600;
}
.mobile-nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--secondary-color);
}
.mobile-nav-item .badge-count {
    position: absolute;
    top: 8px;
    right: 25%;
    background: #dc2626;
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    padding: 1px 5px;
    min-width: 15px;
    text-align: center;
}
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 75px !important; /* Prevent overlap with bottom nav */
    }
}
