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

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #212529;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.ck-editor__editable,
textarea {
    min-height: 150px;
}

textarea.form-control {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    overflow-y: auto;
    resize: vertical;
    max-width: 100%;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
    position: relative;
    padding-right: 2rem;
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
    content: '\f0dc';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #6c757d;
}

table.dataTable thead .sorting_asc::after {
    content: '\f0de';
    color: #007bff;
}

table.dataTable thead .sorting_desc::after {
    content: '\f0dd';
    color: #007bff;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs>.btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}

.searchable-fields {
    padding-left: 5px;
}

.searchable-link {
    padding: 0 5px 0 5px;
}

.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}

.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid~.invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

table.table-bordered td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.c-sidebar {
    background-color: #0F172A !important;
    border-right: 1px solid #1E293B;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    width: auto;
    overflow-x: hidden;
}

.c-sidebar.c-sidebar-lg-show {
    width: 270px;
    min-width: 270px;
}

.c-sidebar-brand {
    background-color: #0F172A !important;
    border-bottom: 1px solid #1E293B;
    padding: 1.25rem 1rem;
}

.c-sidebar-brand .c-sidebar-brand-full {
    color: #E2E8F0;
    font-weight: 700;
    font-size: 1.375rem;
    letter-spacing: -0.025em;
}

.c-sidebar-nav {
    padding: 0.75rem 0.5rem;
    background-color: #0F172A !important;
    overflow-x: hidden;
}

.c-sidebar-nav-link {
    color: #E2E8F0 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    background-color: transparent !important;
    position: relative;
    border-left: 3px solid transparent;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    flex: 1;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
}

.c-sidebar-nav-link .c-sidebar-nav-icon,
.c-sidebar-nav-link .fa-fw {
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.c-sidebar-nav-item {
    width: 100%;
    overflow: visible;
    display: flex;
}

.c-sidebar-nav-item > a {
    width: 100%;
    display: flex;
    align-items: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.c-sidebar-nav-link:hover {
    background-color: #1E293B !important;
    color: #ffffff !important;
    transform: translateX(2px);
    border-left-color: #3B82F6;
}

.c-sidebar-nav-link.c-active {
    background-color: #2563EB !important;
    color: #ffffff !important;
    font-weight: 600;
    border-left-color: #60A5FA;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.c-sidebar-nav-link.c-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: #60A5FA;
    border-radius: 0 2px 2px 0;
}

.c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar-nav-link.c-active .fa-fw {
    color: #ffffff !important;
}

.c-sidebar-nav-icon,
.c-sidebar-nav-link .fa-fw {
    color: #94A3B8;
    margin-right: 0.75rem;
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar-nav-link:hover .fa-fw {
    transform: scale(1.1);
}

.c-sidebar-nav-link .fa-th-large {
    color: #3B82F6 !important;
}

.c-sidebar-nav-link:hover .fa-th-large {
    color: #60A5FA !important;
}

.c-sidebar-nav-link .fa-info-circle {
    color: #10B981 !important;
}

.c-sidebar-nav-link:hover .fa-info-circle {
    color: #34D399 !important;
}

.c-sidebar-nav-link .fa-users {
    color: #8B5CF6 !important;
}

.c-sidebar-nav-link:hover .fa-users {
    color: #A78BFA !important;
}

.c-sidebar-nav-link .fa-user {
    color: #F59E0B !important;
}

.c-sidebar-nav-link:hover .fa-user {
    color: #FBBF24 !important;
}

.c-sidebar-nav-link .fa-file-alt {
    color: #EF4444 !important;
}

.c-sidebar-nav-link:hover .fa-file-alt {
    color: #F87171 !important;
}

.c-sidebar-nav-link .fa-map-marker-alt,
.c-sidebar-nav-link .fa-map-marker {
    color: #06B6D4 !important;
}

.c-sidebar-nav-link:hover .fa-map-marker-alt,
.c-sidebar-nav-link:hover .fa-map-marker {
    color: #22D3EE !important;
}

.c-sidebar-nav-link .fa-truck {
    color: #F97316 !important;
}

.c-sidebar-nav-link:hover .fa-truck {
    color: #FB923C !important;
}

.c-sidebar-nav-link .fa-car-side {
    color: #6366F1 !important;
}

.c-sidebar-nav-link:hover .fa-car-side {
    color: #818CF8 !important;
}

.c-sidebar-nav-link .fa-exclamation-circle {
    color: #EC4899 !important;
}

.c-sidebar-nav-link:hover .fa-exclamation-circle {
    color: #F472B6 !important;
}

.c-sidebar-nav-link .fa-crown {
    color: #FCD34D !important;
}

.c-sidebar-nav-link:hover .fa-crown {
    color: #FDE047 !important;
}

.c-sidebar-nav-link .fa-bell {
    color: #14B8A6 !important;
}

.c-sidebar-nav-link:hover .fa-bell {
    color: #2DD4BF !important;
}

.c-sidebar-nav-link .fa-map {
    color: #0EA5E9 !important;
}

.c-sidebar-nav-link:hover .fa-map {
    color: #38BDF8 !important;
}

.c-sidebar-nav-link .fa-wallet {
    color: #10B981 !important;
}

.c-sidebar-nav-link:hover .fa-wallet {
    color: #34D399 !important;
}

.c-sidebar-nav-link .fa-clock {
    color: #64748B !important;
}

.c-sidebar-nav-link:hover .fa-clock {
    color: #94A3B8 !important;
}

.c-sidebar-nav-link .fa-credit-card {
    color: #8B5CF6 !important;
}

.c-sidebar-nav-link:hover .fa-credit-card {
    color: #A78BFA !important;
}

.c-sidebar-nav-link .fa-map-marked-alt {
    color: #06B6D4 !important;
}

.c-sidebar-nav-link:hover .fa-map-marked-alt {
    color: #22D3EE !important;
}

.c-sidebar-nav-link .fa-receipt {
    color: #F59E0B !important;
}

.c-sidebar-nav-link:hover .fa-receipt {
    color: #FBBF24 !important;
}

.c-sidebar-nav-link .fa-calendar-alt {
    color: #EC4899 !important;
}

.c-sidebar-nav-link:hover .fa-calendar-alt {
    color: #F472B6 !important;
}

.c-sidebar-nav-link .fa-route {
    color: #3B82F6 !important;
}

.c-sidebar-nav-link:hover .fa-route {
    color: #60A5FA !important;
}

.c-sidebar-nav-link .fa-cogs,
.c-sidebar-nav-link .fa-cog {
    color: #64748B !important;
}

.c-sidebar-nav-link:hover .fa-cogs,
.c-sidebar-nav-link:hover .fa-cog {
    color: #94A3B8 !important;
}

.c-sidebar-nav-link .fa-percent {
    color: #10B981 !important;
}

.c-sidebar-nav-link:hover .fa-percent {
    color: #34D399 !important;
}

.c-sidebar-nav-link .fa-key {
    color: #F59E0B !important;
}

.c-sidebar-nav-link:hover .fa-key {
    color: #FBBF24 !important;
}

.c-sidebar-nav-link .fa-sign-out-alt {
    color: #EF4444 !important;
}

.c-sidebar-nav-link:hover .fa-sign-out-alt {
    color: #F87171 !important;
}

.c-sidebar-nav-link .fa-unlock-alt {
    color: #10B981 !important;
}

.c-sidebar-nav-link:hover .fa-unlock-alt {
    color: #34D399 !important;
}

.c-sidebar-nav-link .fa-briefcase {
    color: #8B5CF6 !important;
}

.c-sidebar-nav-link:hover .fa-briefcase {
    color: #A78BFA !important;
}

.c-sidebar-nav-link .fa-flag {
    color: #EF4444 !important;
}

.c-sidebar-nav-link:hover .fa-flag {
    color: #F87171 !important;
}

.c-sidebar-nav-link .fa-building {
    color: #6366F1 !important;
}

.c-sidebar-nav-link:hover .fa-building {
    color: #818CF8 !important;
}

.c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar-nav-link.c-active .fa-fw {
    color: #ffffff !important;
}

.c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar-nav-link.c-active .fa-fw {
    color: #ffffff !important;
}

.c-sidebar-nav-item {
    margin: 0;
    background-color: transparent !important;
}

.c-sidebar-nav-item:hover {
    background-color: transparent !important;
}

.c-sidebar-nav-dropdown-toggle {
    color: #E2E8F0 !important;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    background-color: transparent !important;
    border-left: 3px solid transparent;
    box-sizing: border-box;
}

.c-sidebar-nav-dropdown-toggle:hover {
    background-color: #1E293B !important;
    color: #ffffff !important;
    transform: translateX(2px);
    border-left-color: #3B82F6;
}

.c-sidebar-nav-dropdown-toggle .c-sidebar-nav-icon,
.c-sidebar-nav-dropdown-toggle .fa-fw {
    color: #94A3B8;
    margin-right: 0.75rem;
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.c-sidebar-nav-dropdown-toggle:hover .c-sidebar-nav-icon,
.c-sidebar-nav-dropdown-toggle:hover .fa-fw {
    transform: scale(1.1);
}

.c-sidebar-nav-dropdown-toggle .fa-users {
    color: #8B5CF6 !important;
}

.c-sidebar-nav-dropdown-toggle:hover .fa-users {
    color: #A78BFA !important;
}

.c-sidebar-nav-dropdown-toggle .fa-map-marker-alt,
.c-sidebar-nav-dropdown-toggle .fa-map-marker {
    color: #06B6D4 !important;
}

.c-sidebar-nav-dropdown-toggle:hover .fa-map-marker-alt,
.c-sidebar-nav-dropdown-toggle:hover .fa-map-marker {
    color: #22D3EE !important;
}

.c-sidebar-nav-dropdown-toggle .fa-bell {
    color: #14B8A6 !important;
}

.c-sidebar-nav-dropdown-toggle:hover .fa-bell {
    color: #2DD4BF !important;
}

.c-sidebar-nav-dropdown-items {
    padding-left: 0;
    background-color: #1E293B !important;
    border-top: 0px solid #334155;
    border-bottom: 0px solid #334155;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
    padding: 0rem 0;
    overflow: hidden;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-item {
    margin: 0;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    padding: 0.625rem 1rem 0.625rem 3rem;
    font-size: 0.9375rem;
    background-color: transparent !important;
    margin: 0;
    border-radius: 0;
    border-left: 3px solid transparent;
    width: 100%;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover {
    background-color: #334155 !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link.c-active {
    background-color: #2563EB !important;
    color: #ffffff !important;
    border-left: 3px solid #60A5FA;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar-nav-dropdown-items .c-sidebar-nav-link.c-active .fa-fw {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-icon,
.c-sidebar-nav-dropdown-items .fa-fw {
    color: #94A3B8;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-fw {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-unlock-alt {
    color: #10B981 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-unlock-alt {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-briefcase {
    color: #8B5CF6 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-briefcase {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-flag {
    color: #EF4444 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-flag {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-map {
    color: #0EA5E9 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-map {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-building {
    color: #6366F1 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-building {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-bell {
    color: #14B8A6 !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-bell {
    color: #ffffff !important;
}

.c-sidebar-nav-dropdown-items .fa-cog {
    color: #64748B !important;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover .fa-cog {
    color: #ffffff !important;
}

.c-sidebar-nav-link:focus,
.c-sidebar-nav-dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.c-sidebar-nav-link,
.c-sidebar-nav-dropdown-toggle {
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
}

.c-sidebar-brand .c-sidebar-brand-full {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link {
    margin-top: 1rem;
    border-top: 1px solid #1E293B;
    padding-top: 1rem;
}

.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link:hover {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link .c-sidebar-nav-icon,
.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link .fa-fw {
    color: #94A3B8;
}

.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar-nav > .c-sidebar-nav-item:last-child > .c-sidebar-nav-link:hover .fa-fw {
    color: #ffffff !important;
}

.welcome-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.welcome-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q25,25 50,50 T100,50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/><path d="M0,70 Q30,40 60,70 T120,70" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>') repeat;
    opacity: 0.3;
}

.welcome-header h1 {
    color: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
}

.welcome-header p {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.25rem;
    margin-top: 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
    background-color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.card:first-child {
    margin-top: 0;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1a202c;
    letter-spacing: -0.01em;
}

.card-body {
    padding: 1.5rem;
}

.card {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-success {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.3);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    letter-spacing: 0.01em;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-info {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    letter-spacing: 0.01em;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.01em;
}

.status-badge::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.status-badge.active {
    background-color: #28a745;
    color: #ffffff;
}

.status-badge.inactive {
    background-color: #6c757d;
    color: #ffffff;
}

table.dataTable thead th {
    background-color: #f8f9fa;
    color: #374151;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0.75rem;
}

table.dataTable tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 400;
}

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

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 1.5rem 0.375rem 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
}

.dataTables_wrapper .dataTables_length {
    display: none;
}

.dataTables_wrapper .dataTables_filter {
    display: none;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.action-btn.edit,
a.action-btn.edit {
    background-color: #007bff;
    color: #ffffff;
}

.action-btn.edit:hover,
a.action-btn.edit:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.action-btn.delete,
a.action-btn.delete {
    background-color: #dc3545;
    color: #ffffff;
}

.action-btn.delete:hover,
a.action-btn.delete:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(220, 53, 69, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.btn-xs i {
    font-size: 0.875rem;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
}

.table-controls-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.table-controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table-controls label {
    margin-bottom: 0;
    font-weight: 500;
    color: #4b5563;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.table-controls .form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    height: calc(1.5em + 0.5rem + 2px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-control,
.form-control-sm,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
}

.c-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.c-body {
    background-color: #f8f9fa;
    padding-top: 0;
}

.c-main {
    background-color: #f8f9fa;
    padding-top: 0;
}

.container-fluid {
    padding: 1rem 1.5rem;
    padding-top: 0.75rem;
}

.container-fluid > .row:first-child,
.container-fluid > .alert:first-child,
.container-fluid > .card:first-child {
    margin-top: 0;
}

.container-fluid > *:first-child {
    margin-top: 0;
}

.container-fluid .alert {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
}

.container-fluid .row:first-child .alert {
    margin-top: 0;
}

.container-fluid .row:first-child {
    margin-top: 0;
}

.container-fluid > .card:first-child,
.container-fluid > div:first-child > .card:first-child {
    margin-top: 0;
}

label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    color: #374151;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.admin-filter-action-btn {
    height: 40px !important;
    min-width: 110px;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none !important;
}

.admin-filter-action-btn i {
    margin-right: 8px;
    font-size: 14px;
}

.admin-filter-action-btn.btn-block {
    min-width: 0;
}

@media (max-width: 768px) {
    .welcome-header h1 {
        font-size: 2rem;
    }

    .welcome-header p {
        font-size: 1rem;
    }

    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .table-controls-left,
    .table-controls-right {
        width: 100%;
        justify-content: space-between;
    }
}
