/* Modern AdminLTE Theme - Clean & Professional */

/* Base Styles */
body {
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #495057;
    line-height: 1.4;
    font-size: 13px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica', 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

/* Navbar Enhancement */
.navbar.navbar-inverse {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 16px;
    font-family: 'Helvetica', sans-serif;
}

.navbar-nav > li > a {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

.navbar-nav > li > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Sidebar Enhancement */
.sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 4px 0 15px rgba(0,0,0,0.08);
    border-right: 1px solid #e2e8f0;
    padding: 20px 0;
}

.navigation {
    padding: 0 15px;
}

.navigation > li {
    margin: 3px 0;
    position: relative;
}

.navigation > li > a {
    padding: 12px 16px;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin: 0 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 13px;
    font-family: 'Helvetica', sans-serif;
}

.navigation > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s;
}

.sidebar-xs .navigation > li > a::before {
    display: none;
}

.navigation > li > a:hover::before {
    left: 100%;
}

.navigation > li > a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.navigation > li.active > a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    border-color: rgba(102, 126, 234, 0.5);
    position: relative;
}

.navigation > li.active > a:hover,
.navigation > li.active > a:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

/* Override existing sidebar default styles */
.sidebar-default .navigation > li.active > a,
.sidebar-default .navigation > li.active > a:hover,
.sidebar-default .navigation > li.active > a:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border-left-color: transparent !important;
}

/* Ensure all active menu items have white text */
.navigation > li.active > a,
.navigation > li.active > a:hover,
.navigation > li.active > a:focus,
.navigation > li.active > a:active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

/* Override any existing color rules */
.navigation > li.active > a * {
    color: #ffffff !important;
}

.navigation > li.active > a::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navigation > li > a i {
    width: 18px;
    margin-right: 10px;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Submenu (Treeview Menu) Font Size */
.treeview-menu {
    font-size: 11px;
}

.treeview-menu li a {
    padding: 9px 14px 9px 32px;
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    transition: all 0.2s ease;
    font-family: 'Helvetica', sans-serif;
}

.treeview-menu li a:hover {
    background-color: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
}

.treeview-menu li a i {
    width: 16px;
    margin-right: 8px;
    font-size: 12px;
    opacity: 0.7;
}

.navigation > li > a:hover i,
.navigation > li.active > a i {
    opacity: 1;
    transform: scale(1.1);
}

/* Content Area */
.content-wrapper {
    background: #f8f9fa;
    padding: 20px;
}

.page-header {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 20px;
}

.page-header .page-title h4 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: 18px;
    font-family: 'Helvetica', sans-serif;
}

.breadcrumb {
    background: transparent;
    margin: 8px 0 0 0;
    padding: 0;
}

.breadcrumb > li > a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumb > li > a:hover {
    color: #357abd;
}

/* Panel/Card Enhancement */
.panel {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.panel-heading {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px 20px;
}

.panel-body {
    padding: 20px;
}

/* Table Enhancement */
.table {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.table.dataTable {
    overflow: auto;
}

.table > thead > tr > th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding: 10px 12px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

.table > tbody > tr:hover {
    background-color: #f8f9fa;
}

.table > tbody > tr > td {
    padding: 10px 12px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

/* Modern Button Enhancement */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 6px 12px; /* Ukuran tetap sama */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 200px;
    height: 200px;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357abd 0%, #2c5aa0 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.4);
    transform: translateY(-1px);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.4);
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.4);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.4);
    transform: translateY(-1px);
}

/* Button Sizes - Maintain Original Sizes */
.btn-lg {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
}

.btn-xs {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
}

/* Button Groups */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Enhancement */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px 10px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

/* Select Elements Enhancement */
select,
select.form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select:focus,
select.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background-color: #ffffff;
    outline: none;
}

select:hover,
select.form-control:hover {
    border-color: #4a90e2;
}

/* Select2 Enhancement */
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 6px 12px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: 22px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
    transform: translateY(-1px);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 8px;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    transition: all 0.3s ease;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6b7280 transparent;
    border-width: 0 4px 5px 4px;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 12px rgba(102, 126, 234, 0.1);
    margin-top: 4px;
    background: #ffffff;
    backdrop-filter: blur(10px);
}

.select2-container--default .select2-results__option {
    padding: 10px 14px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    color: #495057;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 4px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.select2-container--default .select2-results__option--highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.select2-container--default .select2-results__option--selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.select2-container--default .select2-selection--single:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.select2-container--default .select2-selection--single:hover {
    border-color: #667eea;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.1);
}

/* Bootstrap Select Enhancement */
.bootstrap-select .dropdown-toggle {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

.bootstrap-select .dropdown-toggle:focus,
/* Additional Select2 Overrides */
.select2-container--default .select2-results__option {
    padding: 10px 14px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    color: #495057;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 4px;
}

.select2-container--default .select2-results__option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    min-height: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.select2-container--default .select2-selection--multiple:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 11px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.2);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 4px 4px 0;
}

/* Override any green colors in Select2 */
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
}

.select2-dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.select2-dropdown .select2-search__field:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(102, 126, 234, 0.1);
    outline: none;
    background-color: #ffffff;
    transform: translateY(-1px);
}

/* Enhanced Select2 Container States */
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
}

.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 8px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
}

/* Select2 Loading State */
.select2-container--default .select2-selection--single .select2-selection__clear,
.select2-container--default .select2-selection--multiple .select2-selection__clear {
    color: #6b7280;
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-right: 30px;
    margin-top: 2px;
    padding: 2px;
    transition: all 0.2s ease;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover,
.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    color: #dc3545;
}
.bootstrap-select .dropdown-toggle:active {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background-color: #ffffff;
}

.bootstrap-select .dropdown-menu {
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
}

.bootstrap-select .dropdown-menu li a {
    padding: 8px 12px;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

.bootstrap-select .dropdown-menu li:hover a,
.bootstrap-select .dropdown-menu li.selected a {
    background-color: #4a90e2;
    color: #ffffff;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
}

/* Alert Enhancement */
.alert {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

.alert-success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Modal Enhancement */
.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Dropdown Enhancement */
.dropdown-menu {
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
}

.dropdown-menu > li > a {
    padding: 8px 16px;
    color: #495057;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background-color: #f8f9fa;
    color: #4a90e2;
}

/* Footer Enhancement */
.footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    padding: 16px;
    text-align: center;
    font-size: 12px;
    font-family: 'Helvetica', sans-serif;
}

/* Label Enhancement */
.label, .badge {
    border-radius: 12px;
    font-weight: 400;
    padding: 2px 6px;
    font-size: 9px;
    font-family: 'Helvetica', sans-serif;
}

.label.bg-success-400 {
    background: #28a745 !important;
    color: #ffffff !important;
}

/* Fix for Dashboard Background Classes */
/* Info Blue Background */
.bg-info-400 {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: #ffffff !important;
}

.bg-info-400 .media-body h3,
.bg-info-400 .media-body span {
    color: #ffffff !important;
}

/* Grey Background */
.bg-grey-400 {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    color: #ffffff !important;
}

.bg-grey-400 .media-body h3,
.bg-grey-400 .media-body span {
    color: #ffffff !important;
}

/* Orange Background */
.bg-orange-400 {
    background: linear-gradient(135deg, #fd7e14 0%, #e8680d 100%) !important;
    color: #ffffff !important;
}

.bg-orange-400 .media-body h3,
.bg-orange-400 .media-body span {
    color: #ffffff !important;
}

/* Indigo Background */
.bg-indigo-400 {
    background: linear-gradient(135deg, #6610f2 0%, #5a0fc8 100%) !important;
    color: #ffffff !important;
}

.bg-indigo-400 .media-body h3,
.bg-indigo-400 .media-body span {
    color: #ffffff !important;
}

/* Pink Background */
.bg-pink-600 {
    background: linear-gradient(135deg, #e83e8c 0%, #d63384 100%) !important;
    color: #ffffff !important;
}

.bg-pink-600 .media-body h3,
.bg-pink-600 .media-body span {
    color: #ffffff !important;
}

/* Blue Background */
.bg-blue-400 {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: #ffffff !important;
}

.bg-blue-400 .media-body h3,
.bg-blue-400 .media-body span {
    color: #ffffff !important;
}

/* Success Green Background */
.bg-success-400 {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    color: #ffffff !important;
}

.bg-success-400 .media-body h3,
.bg-success-400 .media-body span {
    color: #ffffff !important;
}

/* Danger Red Background */
.bg-danger-400 {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%) !important;
    color: #ffffff !important;
}

.bg-danger-400 .media-body h3,
.bg-danger-400 .media-body span {
    color: #ffffff !important;
}

/* Modern Gradient Backgrounds - Diverse Color Palette */

/* Ocean Blue Gradient */
.bg-gradient-ocean {
    background: linear-gradient(135deg, #0077be 0%, #00a8cc 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-ocean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-ocean .media-body h3,
.bg-gradient-ocean .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Slate Gray Gradient */
.bg-gradient-slate {
    background: linear-gradient(135deg, #4a5568 0%, #718096 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-slate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-slate .media-body h3,
.bg-gradient-slate .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Sunset Orange Gradient */
.bg-gradient-sunset {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-sunset::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-sunset .media-body h3,
.bg-gradient-sunset .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Royal Purple Gradient */
.bg-gradient-royal {
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-royal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-royal .media-body h3,
.bg-gradient-royal .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Sky Blue Gradient */
.bg-gradient-sky {
    background: linear-gradient(135deg, #4299e1 0%, #63b3ed 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-sky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-sky .media-body h3,
.bg-gradient-sky .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Crimson Red Gradient */
.bg-gradient-crimson {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-crimson::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-crimson .media-body h3,
.bg-gradient-crimson .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Purple Gradient (existing) */
.bg-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-purple .media-body h3,
.bg-gradient-purple .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Teal Gradient (existing) */
.bg-gradient-teal {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.bg-gradient-teal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
}

.bg-gradient-teal .media-body h3,
.bg-gradient-teal .media-body span {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* General Panel Enhancement for Dashboard */
.panel.panel-body.has-bg-image {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.panel.panel-body.has-bg-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.panel.panel-body.has-bg-image .media-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Helvetica', sans-serif;
}

.panel.panel-body.has-bg-image .media-body h4 {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    font-family: 'Helvetica', sans-serif;
}

.panel.panel-body.has-bg-image .media-body span {
    font-size: 10px;
    opacity: 0.9;
    font-family: 'Helvetica', sans-serif;
}

/* Dashboard Row Spacing */
.row .col-md-3,
.row .col-md-6,
.row .col-sm-3,
.row .col-sm-6,
.row .col-xs-12 {
    padding: 0 7.5px;
    margin-bottom: 15px;
}

/* Dashboard Links */
.panel.panel-body.has-bg-image a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.panel.panel-body.has-bg-image a:hover {
    text-decoration: none;
    color: inherit;
}

/* Dashboard Images */
.panel.panel-body.has-bg-image img {
    transition: all 0.3s ease;
}

.panel.panel-body.has-bg-image:hover img {
    transform: scale(1.05);
}

/* Add Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Loading Enhancement */
#load {
    background: rgba(248, 249, 250, 0.95) url("../../../loading.gif") no-repeat center center !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f3f4;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        margin: 10px;
        padding: 15px;
    }

    .panel {
        margin: 10px;
    }

    .content-wrapper {
        padding: 10px;
    }

    .table {
        font-size: 12px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel {
    animation: fadeInUp 0.4s ease-out;
}

/* User Navigation Enhancement */
.navigation-wrapper {
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    background: #ffffff !important;
    border: 1px solid #e9ecef;
}

.navigation-wrapper .navigation li a:hover {
    background-color: #f8f9fa !important;
    color: #4a90e2 !important;
}
.navigation li.active > .has-ul:after {
    display: none !important;
}
.navigation > li ul li a {
    padding: 5px 20px;
    padding-left: 20px;
    min-height: 30px;
    font-size: 12px;
}

.text-white th {
    color: #f8f9fa !important;
}

.label_readonly {
    border-radius: 8px;
}

/* Modern Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.login-container .content-wrapper, .login-container .content {
    padding: 0;
}
.login-container .page-container {
    padding-top:0px;
}
.navigation-wrapper .navigation.top li a:hover {
    color:#fff !important;
}
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 8px 16px rgba(102, 126, 234, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
}

.login-icon i {
    font-size: 32px;
    color: #ffffff;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-family: 'Helvetica', sans-serif;
}

.login-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    font-family: 'Helvetica', sans-serif;
}

.forgot-header {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.forgot-icon i {
    font-size: 28px;
    color: #ffffff;
}

.forgot-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-family: 'Helvetica', sans-serif;
}

.forgot-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    font-family: 'Helvetica', sans-serif;
}

.form-section {
    margin-bottom: 24px;
}

.form-group-modern {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Helvetica', sans-serif;
}

.input-group-modern {
    position: relative;
}

.form-control-modern {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Helvetica', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-control-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.form-control-modern:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    z-index: 2;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 4px;
}

.password-toggle:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-modern {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
    font-family: 'Helvetica', sans-serif;
    position: relative;
}

.checkbox-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ced4da;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-modern input:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

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

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

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Helvetica', sans-serif;
    transition: all 0.2s ease;
}

.forgot-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn-modern {
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Helvetica', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.btn-modern:hover::before {
    width: 200px;
    height: 200px;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #17a2b8 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid #ced4da;
}

.btn-secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-text {
    position: relative;
    z-index: 1;
    margin: 0 8px;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .btn-modern {
    flex: 1;
}

.alert-modern {
    border-radius: 8px;
    border: none;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Helvetica', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert-modern .close {
    opacity: 0.7;
    transition: all 0.2s ease;
}

.alert-modern .close:hover {
    opacity: 1;
}

/* Modern DataTables Button Styles */
.dt-button,
.dt-buttons .dt-button,
button.dt-button,
div.dt-button,
a.dt-button {
    border: none;
    border-radius: 6px;
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 400;
    font-family: 'Helvetica', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    text-decoration: none;
}

.dt-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.dt-button:hover::before {
    width: 200px;
    height: 200px;
}

.dt-button:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #212529;
    transform:scaleX(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dt-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.dt-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Specific DataTables Button Types */
.buttons-excel,
.dt-button.buttons-excel {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.buttons-excel:hover,
.dt-button.buttons-excel:hover {
    background: linear-gradient(135deg, #218838 0%, #17a2b8 100%);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    transform: scaleX(1.05);
}

.buttons-csv,
.dt-button.buttons-csv {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

.buttons-csv:hover,
.dt-button.buttons-csv:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4);
    transform: scaleX(1.05);
}

.buttons-pdf,
.dt-button.buttons-pdf {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.buttons-pdf:hover,
.dt-button.buttons-pdf:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
    transform: scaleX(1.05);
}

.buttons-print,
.dt-button.buttons-print {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.buttons-print:hover,
.dt-button.buttons-print:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.4);
    transform: scaleX(1.05);
}

.buttons-copy,
.dt-button.buttons-copy {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.buttons-copy:hover,
.dt-button.buttons-copy:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    color: #212529;
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
    transform: scaleX(1.05);
}

.buttons-collection,
.dt-button.buttons-collection {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(111, 66, 193, 0.3);
}

.buttons-collection:hover,
.dt-button.buttons-collection:hover {
    background: linear-gradient(135deg, #5a32a3 0%, #4c2889 100%);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(111, 66, 193, 0.4);
    transform: scaleX(1.05);
}

/* DataTables Button Icons */
.dt-button span:before,
.dt-button span:after {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* DataTables Button Collection/Dropdown */
.dt-button-collection {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 8px 0;
    margin-top: 4px;
}

.dt-button-collection .dt-button {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: #495057;
    box-shadow: none;
    padding: 10px 16px;
    text-align: left;
    border: none;
}

.dt-button-collection .dt-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.dt-button-collection .dt-button:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.dt-button-collection .dt-button:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* DataTables Button Container */
.dt-buttons {
    margin-bottom: 16px;
}

.dt-buttons .dt-button {
    margin-right: 4px;
    margin-bottom: 4px;
}

/* Responsive DataTables Buttons */
@media (max-width: 768px) {
    .dt-buttons {
        text-align: center;
        float: none !important;
    }

    .dt-buttons .dt-button {
        display: inline-block;
        float: none;
        margin: 2px;
        min-width: 80px;
    }

    .dt-button span {
        font-size: 11px;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }

    .login-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .login-title {
        font-size: 20px;
    }

    .forgot-title {
        font-size: 18px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-modern {
        margin-bottom: 8px;
    }
}

@media (min-width: 769px) {
    .sidebar-xs .sidebar-main {
        width: 100px;
    }
}