/* Admin-specific styles */
.admin-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.admin-header h1 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.admin-content {
    margin-bottom: 3rem;
}

.admin-content .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.admin-content .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.admin-content .table td {
    vertical-align: middle;
}

.admin-content .table img {
    border: 1px solid #dee2e6;
}

/* Product actions in shop view */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-actions .admin-edit {
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Badge styles */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Alert styles */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form styles for admin pages */
.admin-content .form-label {
    font-weight: 600;
    color: #2c3e50;
}

.admin-content .form-control:focus,
.admin-content .form-select:focus {
    border-color: #d4834f;
    box-shadow: 0 0 0 0.2rem rgba(212, 131, 79, 0.25);
}

.admin-content .btn-primary {
    background-color: #d4834f;
    border-color: #d4834f;
}

.admin-content .btn-primary:hover {
    background-color: #c07340;
    border-color: #c07340;
}

/* Empty state styles */
.admin-content .text-center.py-5 {
    padding: 3rem 1rem !important;
}

.admin-content .text-center.py-5 .fa-box-open {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-header .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-header .btn {
        margin-top: 1rem;
    }
    
    .product-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .product-actions .btn {
        flex: 1;
    }
    
    .product-actions .admin-edit {
        margin-top: 0;
        margin-left: 0.5rem;
        flex: 0 0 auto;
    }
}

/* Navigation admin indicator */
.nav-link.admin-indicator {
    position: relative;
}

.nav-link.admin-indicator::after {
    content: "ADMIN";
    position: absolute;
    top: -8px;
    right: -12px;
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}
