/* Mamaz Premium Modern Theme */

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', 'Outfit', sans-serif !important;
}

/* Glass Cards */
.card {
    border: 1px solid var(--glass-border);
    border-radius: 12px;

}


/* Gradient Buttons */
.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-success {
    background: var(--success-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
}

.btn-info {
    background: var(--info-gradient) !important;
    border: none !important;
}

/* Dashboard Stat Cards */
.bg-primary {
    background: var(--primary-gradient) !important;
}

.bg-success {
    background: var(--success-gradient) !important;
}

.bg-warning {
    background: var(--warning-gradient) !important;
}

.bg-danger {
    background: var(--danger-gradient) !important;
}

/* Avatar Overrides */
.avatar-title {
    background: var(--primary-gradient) !important;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-nav-link:hover {
    background: rgba(99, 102, 241, 0.05);
    color: #6366f1 !important;
}

.side-nav-item.active>.side-nav-link {
    color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.1) !important;
    border-radius: 8px;
    margin: 0 10px;
}

/* Table Styling */
.table {
    --ct-table-bg: transparent;
}

.table thead th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    color: #64748b;
    border-top: none;
}



/* Utility classes */
.rounded-xl {
    border-radius: 1rem !important;
}



/* Badges */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

.bg-soft-info {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #0891b2 !important;
}

.bg-soft-primary {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #6366f1 !important;
}

.bg-soft-success {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #10b981 !important;
}

.bg-soft-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
}

/* Table Headers refinement */
.table thead th {
    border-bottom: 2px solid #8888886b;
}

/* Select2 Premium Styling */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    height: 38px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--open .select2-selection--single {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 9999;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary-gradient) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px 12px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 8px;
    min-height: 38px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f1f1f1;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 6px;
}

/* Fix for Select2 inside input groups or horizontal forms */
.select2-container {
    display: block;
    width: 100% !important;
}