:root {
    --primary-color: #2a2a72;
    --primary-light: rgba(42, 42, 114, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
}


body{
    background-color: #ffffff;
}

/* Modern Dashboard Styles */
.dashboard-stats {
    margin-bottom: 2rem;
} 

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}



.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(42, 42, 114, 0.1);
    color: #2a2a72;
}

.stat-card.success .stat-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-card.info .stat-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
}

.dashboard-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header-modern {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem 1.5rem 0.5rem;
}

.card-header-modern h6 {
    color: #2a2a72;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.btn-modern {
    background: linear-gradient(135deg, #2a2a72, #667eea);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 42, 114, 0.3);
    color: white;
}

.quick-action-btn {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2a2a72;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.quick-action-btn:hover {
    border-color: #2a2a72;
    background: #f8f9ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 42, 114, 0.15);
}

.quick-action-label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.table-modern {
    border-radius: 12px;
    overflow: hidden;
}

.table-modern thead th {
    background: #f8f9ff;
    color: #2a2a72;
    font-weight: 700;
    border: none;
    padding: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-modern tbody td {
    padding: 1rem;
    border-color: #f8f9fa;
    vertical-align: middle;
}

.table-modern tbody tr:hover {
    background: #f8f9ff;
}

.badge-modern {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.financial-summary {
    background: linear-gradient(135deg, #2a2a72, #667eea);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.financial-summary h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.financial-item {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.financial-label {
    flex: 1;
    font-weight: 600;
}

.financial-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.profit-loss {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.overdue-alert {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.overdue-alert i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-banner h3 {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.welcome-banner p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 1.5rem;
    }
    
    .quick-action-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .welcome-banner {
        padding: 1.5rem;
    }
}


/* Custom Styles */
.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.card {
    border: none;
    border-radius: 10px;
}

.card.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.btn-circle {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.border-left-primary {
    border-left: 0.25rem solid #2a2a72 !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.text-xs {
    font-size: 0.7rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* DataTable customization */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin-left: 2px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd;
    color: white !important;
    border-color: #0d6efd;
}

/* Sidebar navigation active state */
.navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Form styling */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table row hover effect */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Badge customization */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Custom button styles */
.btn-primary {
    background-color: #2a2a72;
    border-color: #2a2a72;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Print styles */
@media print {
    .navbar, .btn, .dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}





.card-modern {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: var(--hover-shadow);
}

.btn-modern {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 42, 114, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 42, 114, 0.4);
    color: white;
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.alert-modern {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(6, 95, 70, 0.1);
}

.text-primary{
    color: var(--primary-color) !important;
}

.bg-primary{
    background: var(--primary-color) !important;
    color: #fff;
}

.badge-primary{
    background: var(--primary-color) !important;
    color: #fff;
}

.rounded{
    border-radius: 20px !important;
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(6, 95, 70, 0.1);
}


.table-modern {
    border-radius: 12px;
    overflow: hidden;
    
}

.table-modern thead th {
    background: ;
    color: #000;
    font-weight: 700;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-modern tbody td {
    padding: 1rem 1.25rem;
    border-color: #f8f9fa;
    vertical-align: middle;
    font-weight: 500;
    border: 1px solid #eee;
}

.table-modern tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.table-modern tbody tr:hover {
    background: #f8f9ff;
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

.account-type-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%) !important;
    color: var(--primary-color) !important;
    font-size: 1rem !important;
    text-transform: none !important;
    border-left: 4px solid var(--primary-color);
}

.account-type-header .type-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary-color);
}

.badge-modern {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 2px solid transparent;
}

.badge-primary { 
    background: #2a2a72; 
    color: #fff; 
    border-color: #1f1f59; 
}

.badge-success { 
    background: #10b981; 
    color: #fff; 
    border-color: #0e8f67; 
}

.badge-info { 
    background: #3b82f6; 
    color: #fff; 
    border-color: #316ed1; 
}

.badge-warning { 
    background: #f59e0b; 
    color: #fff; 
    border-color: #c27b08; 
}

.badge-danger { 
    background: #ef4444; 
    color: #fff; 
    border-color: #c73636; 
}


.account-code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
}

.transaction-count {
    background: #f8f9fa;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

/* Custom scrollbar for table */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #1a1a5a;
}






.card-modern {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: var(--hover-shadow);
}

.card-header-modern {
    background: var(--primary-gradient);
    color: white;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
    border: none;
}

.card-header-modern h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-modern {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 42, 114, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 42, 114, 0.4);
    color: white;
}

.btn-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.form-control-modern {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(42, 42, 114, 0.1);
    background: #ffffff;
}

.form-select-modern {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-select-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(42, 42, 114, 0.1);
    background: #ffffff;
}

.form-label-modern {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}



.checkbox-modern {
    position: relative;
    padding-left: 2.5rem;
    cursor: pointer;
}

.checkbox-modern input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-modern:hover .checkmark {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.checkbox-modern input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-modern input:checked ~ .checkmark:after {
    display: block;
}

.guide-item {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.guide-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.form-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
}

.form-section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-field::after {
    content: " *";
    color: #ef4444;
}

.guide-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bg-debit { background: rgba(42, 42, 114, 0.1); color: #2a2a72; }
.bg-credit { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

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

.form-feedback {
    display: none;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-feedback.valid {
    color: #10b981;
}

.form-feedback.invalid {
    color: #ef4444;
}





.professional-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.professional-card-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: 15px 15px 0 0;
}

.professional-card-header h6 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.professional-card-body {
    /* padding: 1.5rem; */
}

.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-secondary {
    border: 1px solid #dee2e6;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 6px;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

/* Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    background: #ffffff;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.summary-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(42, 42, 114, 0.1);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.summary-icon.primary { color: #fff; background: var(--primary-color); }
.summary-icon.success { color: #fff; background: var(--success-color); }
.summary-icon.warning { color: #fff; background: var(--warning-color); }
.summary-icon.danger { color: #fff; background: var(--danger-color); }

.summary-content {
    flex: 1;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.summary-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Table */
.table-professional {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.table-professional thead th {
    background: #f8f9fa;
    border-bottom: 2px solid var(--border-color);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    white-space: nowrap;
}

.table-professional tbody td {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.9rem;
}

.table-professional tbody tr:last-child td {
    border-bottom: none;
}

.table-professional tbody tr:hover {
    background: var(--primary-light);
}

/* Status Badges */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-draft { 
    background: #f8f9fa; 
    color: #6c757d; 
    border-color: #dee2e6; 
}

.status-ordered { 
    background: #e7f1ff; 
    color: #0d6efd; 
    border-color: #b3d4ff; 
}

.status-received { 
    color: #e8f5e8; 
    background: var(--success-color); 
    border-color: #b7e4b7; 
}

.status-invoiced { 
    color: #f0e8ff; 
    background: #6f42c1; 
    border-color: #d4c2ff; 
}

.status-cancelled { 
    color: #ffeaea; 
    background: var(--danger-color); 
    border-color: #ffb8b8; 
}

/* Action Buttons */
.action-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: var(--primary-dark);
    text-decoration: none;
}

.action-btn.view:hover { color: #0d6efd; border-color: #0d6efd; }
.action-btn.edit:hover { color: var(--warning-color); border-color: var(--warning-color); }
.action-btn.more:hover { color: var(--primary-color); border-color: var(--primary-color); }

 

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
     position: relative;
    z-index: 1000;

}

.table-responsive,
.table-professional {
    overflow: visible !important;
}

.dropdown-item {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Alert */
.alert-professional {
    border: 1px solid;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #e8f5e8;
    border-color: #b7e4b7;
    color: var(--success-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* DataTable Customization */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .professional-card-body {
        padding: 1rem;
    }
    
    .table-professional {
        font-size: 0.875rem;
    }
    
    .action-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}
