:root {
    --primary-color: #0f172a; /* Slate 900 */
    --secondary-color: #1e293b; /* Slate 800 */
    --accent-color: #3b82f6; /* Blue 500 */
    --accent-hover: #2563eb; /* Blue 600 */
    --text-color: #334155; /* Slate 700 */
    --bg-color: #f1f5f9; /* Slate 100 */
    --card-bg: #ffffff;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.025em;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

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

.card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-color);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Utilities */
.text-accent {
    color: var(--accent-color);
}

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

.shadow-soft {
    box-shadow: var(--shadow-md);
}

.display-4 {
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary-color);
}

/* Mobile-specific admin sidebar styles */
@media (max-width: 767.98px) {
    .mobile-only-sidebar {
        width: 280px !important;
        border-right: none !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        background: #ffffff;
    }

    .mobile-sidebar-header {
        padding: 16px 20px;
        border-bottom: 1px solid #e1e3e5;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-sidebar-body {
        padding: 16px;
        overflow-y: auto;
        flex-grow: 1;
    }

    .mobile-nav-heading {
        font-size: 10px;
        font-weight: 700;
        color: #8c9096;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-top: 18px;
        margin-bottom: 6px;
        padding-left: 8px;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        color: #4a4d50;
        font-size: 13.5px;
        font-weight: 500;
        text-decoration: none;
        border-radius: 8px;
        margin-bottom: 4px;
        transition: all 0.15s ease;
        gap: 10px;
    }

    .mobile-nav-link i {
        font-size: 16px;
        width: 20px;
        text-align: center;
        color: #8c9096;
    }

    .mobile-nav-link:hover {
        background-color: #f6f6f7;
        color: #202223;
    }

    .mobile-nav-link.active {
        background-color: #f1f2f3;
        color: #202223;
        font-weight: 600;
    }

    .mobile-nav-link.active i {
        color: #202223;
    }

    .store-badge-circle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-weight: 700;
        font-size: 12px;
    }
}
