/* Dashboard Specific Styles */
.dashboard-header {
    background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 100%);
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #f5b754;
}

.dashboard-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    color: #999;
    text-align: center;
    font-size: 16px;
    margin-top: 0;
}

.dashboard-nav {
    background: #222;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.dashboard-nav .nav-tabs {
    border-bottom: none;
}

.dashboard-nav .nav-link {
    color: #999;
    padding: 15px 25px;
    margin: 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-nav .nav-link:hover {
    background: rgba(245, 183, 84, 0.1);
    color: #f5b754;
    transform: translateY(-2px);
}

.dashboard-nav .nav-link.active {
    background: #f5b754;
    color: #1b1b1b;
    box-shadow: 0 5px 15px rgba(245, 183, 84, 0.3);
}

.product-form-section {
    background: #222;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-form-section h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control, .form-control:focus {
    background: #1b1b1b;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #f5b754;
    box-shadow: 0 0 0 0.2rem rgba(245, 183, 84, 0.25);
    background: #1b1b1b;
}

.form-group label {
    color: #999;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.filter-row {
    align-items: center;
    gap: 15px;
}

.filter-row .form-group {
    margin-bottom: 0;
}

.filter-row .form-control {
    height: 48px;
    padding: 12px 14px;
    line-height: 24px;
}

.btn-dashboard {
    background: #f5b754;
    color: #1b1b1b;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(245, 183, 84, 0.3);
}

.btn-dashboard:hover {
    background: #e6a642;
    color: #1b1b1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 183, 84, 0.4);
}

.btn-danger-custom {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.btn-danger-custom:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-edit-custom {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.btn-edit-custom:hover {
    background: #218838;
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #f5b754;
    box-shadow: 0 10px 25px rgba(245, 183, 84, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 25px;
}

.product-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card-category {
    color: #f5b754;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card-price {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.product-card-price::before {
    content: '₹';
    font-size: 18px;
    margin-right: 2px;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.color-preview {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.color-preview:hover {
    transform: scale(1.2);
    border-color: #f5b754;
}

.image-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin: 8px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.image-preview:hover {
    transform: scale(1.05);
    border-color: #f5b754;
}

.tab-content {
    padding-top: 40px;
}

.stats-card {
    background: #222;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: #f5b754;
    box-shadow: 0 10px 25px rgba(245, 183, 84, 0.2);
}

.stats-card h3 {
    color: #f5b754;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.stats-card p {
    color: #999;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.import-export-section {
    background: #222;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.import-export-section h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.import-export-section h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.import-export-section p {
    color: #999;
    margin-bottom: 20px;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5b754;
    color: #1b1b1b;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.status-active {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-inactive {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.product-specs {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.product-specs p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.product-specs strong {
    color: #fff;
    font-weight: 500;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-products i {
    font-size: 64px;
    color: #333;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-products p {
    color: #999;
    font-size: 16px;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #f5b754;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .product-form-section {
        padding: 25px;
    }
    
    .dashboard-nav .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .stats-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .stats-card h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-nav .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .product-card-actions {
        flex-direction: column;
    }
    
    .btn-dashboard {
        width: 100%;
        margin-bottom: 10px;
    }
}
