* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* Logo Section */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
    margin-bottom: 32px;
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(249, 115, 22, 0.05);
    padding: 8px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-align: center;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.3px;
}

.nav-link span {
    font-size: 20px;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: #1a1a1a;
    background: rgba(249, 115, 22, 0.1);
    transform: translateX(4px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.nav-link.active::before {
    opacity: 0;
}

/* User Info Section */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.1);
    margin-top: auto;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-details p {
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logout Button */
.btn-logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    width: 100%;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    overflow-y: auto;
}

#content-area {
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Menu Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sidebar-toggle span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Select2 Custom Styles - Light Theme - INCREASED SIZE */
.select2-container {
   width: 77% !important;
}

.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    height: 56px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(255, 255, 255, 1);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    background: rgba(255, 255, 255, 1);
    height: 51px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a1a1a;
    line-height: 32px;
    padding-left: 8px;
    font-size: 16px;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #718096;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 54px;
    right: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #f97316 transparent transparent transparent;
    border-width: 7px 6px 0 6px;
}

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

.select2-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(249, 115, 22, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.select2-container--default .select2-search--dropdown {
    padding: 14px;
    background: rgba(249, 115, 22, 0.05);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    color: #1a1a1a;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.select2-container--default .select2-results__option {
    color: #2d3748;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(234, 88, 12, 0.2) 100%);
    color: #1a1a1a;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(234, 88, 12, 0.3) 100%);
    color: #1a1a1a;
    font-weight: 600;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    color: #a0aec0;
    background: rgba(226, 232, 240, 0.5);
}

.select2-results__message {
    color: #718096;
    padding: 14px 18px;
    font-size: 15px;
}

.select2-container--default .select2-results__option--loading {
    color: #f97316;
}

/* Phone validation styles */
.phone-validation-message {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

.phone-validation-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

.phone-validation-message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DataTables Custom Styles */
.dataTables_wrapper {
    color: #1a1a1a;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #1a1a1a;
    padding: 6px 12px;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #f97316;
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(249, 115, 22, 0.2) !important;
    border-color: #f97316 !important;
    color: #1a1a1a !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    border-color: #f97316 !important;
    color: #ffffff !important;
}

.dataTables_wrapper .dataTables_info {
    color: #4a5568;
}

/* Card Styles - Light Theme */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.03) 0%, rgba(234, 88, 12, 0.03) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(249, 115, 22, 0.2);
}

.card:hover::before {
    top: -25%;
    right: -25%;
}

.card-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
    position: relative;
    z-index: 1;
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
}

.form-control:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-control:hover {
    border-color: #ea580c;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* Button Styles - Enhanced */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 140px;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(100, 116, 139, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 6px 25px rgba(100, 116, 139, 0.6);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-success:hover {
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-info:hover {
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 100px;
}

/* Table Styles - Light Theme */
.table-container {
    overflow-x: auto;
    margin-top: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    min-width: 600px;
}

thead {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
}

th {
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #2d3748;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(249, 115, 22, 0.05);
}

tbody tr:nth-child(even) {
    background-color: rgba(249, 115, 22, 0.02);
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.status-actif {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-annule {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 2000;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.notification.show {
    display: block;
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.success {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95) 0%, rgba(234, 88, 12, 0.95) 100%);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    color: white;
}

.notification.info {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95) 0%, rgba(234, 88, 12, 0.95) 100%);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(234, 88, 12, 0.05) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(249, 115, 22, 0.2);
}

.stat-card:hover::before {
    top: -25%;
    right: -25%;
}

.stat-card h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.stat-card p {
    font-size: 15px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(249, 115, 22, 0.3);
    border-radius: 50%;
    border-top-color: #f97316;
    animation: spin 0.8s linear infinite;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #718096;
    font-style: italic;
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #4a5568;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* Photo/Image Preview */
.preview-container {
    margin-top: 15px;
    text-align: center;
    padding: 20px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.03);
}

.preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 32px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #718096;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

/* Modal Form Styles */
#edit-form .form-group {
    margin-bottom: 20px;
}

#edit-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

#edit-form input[type="text"],
#edit-form input[type="tel"],
#edit-form input[type="number"],
#edit-form input[type="date"],
#edit-form select,
#edit-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
}

#edit-form input:focus,
#edit-form select:focus,
#edit-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

#edit-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Profile Info Card Styles */
.profil-info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.profil-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
}

.profil-info-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.profil-info-card p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.5;
}

.profil-info-card p:last-child {
    margin-bottom: 0;
}

.profil-info-card p strong {
    color: #2d3748;
    font-weight: 600;
}

/* Profile Button Styles in Table */
td .btn-primary.btn-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

td .btn-primary.btn-small:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
        padding: 30px;
    }
    
    .logo img {
        width: 100px;
        height: 100px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .modal-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding: 80px 20px 20px;
    }
    
    .card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .card-header h2 {
        font-size: 22px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .table-container {
        font-size: 13px;
        border-radius: 12px;
    }
    
    th, td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    table {
        min-width: 500px;
    }
    
    .notification {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: calc(100% - 30px);
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .status-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .modal-content {
        padding: 20px;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    /* Profile page responsive */
    .profil-info-card {
        padding: 16px;
    }
    
    .profil-info-card h4 {
        font-size: 14px;
    }
    
    .profil-info-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 70px 15px 15px;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .card-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-small {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    th, td {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    table {
        min-width: 450px;
    }
    
    .stat-card {
        padding: 24px;
    }
    
    .stat-card h3 {
        font-size: 36px;
    }
    
    .stat-card p {
        font-size: 13px;
    }
    
    .logo img {
        width: 80px;
        height: 80px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .modal-content {
        padding: 16px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
}
.select2-selection{
    height: 50px !important;
}