/* BLOX RANDOM STYLE THEME - Light, Clean Design */

:root {
    /* Primary Colors - Light Theme */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    
    /* Secondary Colors */
    --accent-red: #dc2626;
    --accent-red-light: #ef4444;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light-gray: #f8fafc;
    --bg-gray: #f1f5f9;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-gray: #cbd5e1;
    
    /* Success/Status Colors */
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

/* Global Styles */
body {
    background-color: var(--bg-light-gray) !important;
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Styles */
.navbar-vertical {
    background-color: var(--bg-white) !important;
    border-right: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 40px;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--bg-gray);
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link.active {
    background-color: var(--primary-blue);
    color: white !important;
}

/* Main Content Area */
#db-wrapper {
    background-color: var(--bg-light-gray);
}

.main-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 24px;
}

/* Product Cards - BLOX RANDOM Style */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.product-stock {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.stock-count {
    color: var(--primary-blue);
    font-weight: 600;
}

.sold-count {
    color: var(--text-gray);
}

/* Buttons - BLOX RANDOM Style */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.btn-danger:hover {
    background-color: var(--accent-red-light);
    border-color: var(--accent-red-light);
}

/* Category Cards */
.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-gray);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Search Bar */
.search-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--bg-light-gray);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Stats Cards */
.stats-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stats-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stats-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

/* Recent Activity Cards */
.activity-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.activity-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-amount {
    color: var(--primary-blue);
    font-weight: 600;
}

.activity-time {
    background-color: var(--primary-blue);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Header Bar */
.header-bar {
    background: var(--primary-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Sidebar */
.sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

/* Form Elements */
.form-control {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 12px 16px;
    background-color: var(--bg-white);
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Tables */
.table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px;
    font-weight: 600;
}

.table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}

.table tbody tr:hover {
    background-color: var(--bg-light-gray);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
    padding: 16px 20px;
}

.alert-info {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-blue);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    border-left: 4px solid var(--success-green);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-orange);
    border-left: 4px solid var(--warning-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin: 10px;
        padding: 16px;
    }
    
    .product-card {
        padding: 16px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 18px;
    }
}

/* Loading Animation */
.loading {
    background-color: rgba(255, 255, 255, 0.9);
}

.loader {
    color: var(--primary-blue);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}




