:root {
    /* Color Palette */
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    /* Shadows */
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Premium Card */
.premium-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

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

.card-header-custom {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    /* Negate padding of premium-card */
}

.card-body-custom {
    /* padding: 1.5rem; */
    /* Already handled by premium-card */
}

/* Premium Table */
.table-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.premium-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.premium-table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem;
}

.premium-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

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

/* Product List Item */
.product-list-item {
    transition: background-color 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.product-list-item:hover {
    background-color: #f8fafc;
}

/* Badges & Status */
.status-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge-lg {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.active-btn,
.success-btn {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.inactive-btn,
.danger-btn {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.warning-btn {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.info-btn {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 2rem;
}

.pagination {
    gap: 5px;
}

.page-item .page-link {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: #64748b;
    font-weight: 500;
    background-color: transparent;
    transition: all 0.2s;
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.page-item .page-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Pagination Premium Override */
.pagination-premium .page-link {
    border-radius: 30px !important;
    margin: 0 2px;
}

/* Breadcumb override */
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Badge Premium */
.badge-premium {
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4em 1em;
    display: inline-block;
}

/* Buttons */
.btn-premium {
    border-radius: 30px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary.btn-premium {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-success.btn-premium {
    background: var(--success-gradient);
    border: none;
    color: white;
}

.btn-warning.btn-premium {
    background: var(--warning-gradient);
    border: none;
    color: white;
}

.btn-danger.btn-premium {
    background: var(--danger-gradient);
    border: none;
    color: white;
}

.btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Layout Utilities */
.content-header {
    margin-bottom: 2rem;
}

/* Form Controls */
.form-select,
.form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 1rem;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Search Components */
.input-group-search {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #f8fafc;
    display: flex;
}

.input-group-search .form-control {
    border: none;
    background: #f8fafc;
    border-radius: 30px 0 0 30px;
    padding-left: 1.2rem;
    font-size: 1rem;
}

.input-group-search .btn-search {
    background: var(--primary-color);
    color: #fff;
    border-radius: 0 30px 30px 0;
    border: none;
    font-weight: 600;
    padding: 0 1.5rem;
    transition: all 0.2s;
}

.input-group-search .btn-search:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-clear {
    border-radius: 30px !important;
    background: #f1f5f9 !important;
    color: var(--secondary-color) !important;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    margin-left: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear:hover {
    background: #e2e8f0 !important;
    color: var(--primary-color) !important;
}