body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.page {
    display: none;
    background-color: white;
    border-radius: 8px;
    padding: 0px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page.active {
    display: block;
}

.page h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3) !important;
    background-color: #fdf2f2;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #27ae60;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    background-color: #fdf2f2;
    padding: 5px 8px;
    border-radius: 3px;
    border-left: 3px solid #e74c3c;
}

.error-message.show {
    display: block !important;
}

.success-message {
    color: #27ae60;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    background-color: #f0f9f0;
    padding: 5px 8px;
    border-radius: 3px;
    border-left: 3px solid #27ae60;
}

.success-message.show {
    display: block !important;
}

.btn {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-success {
    background-color: #27ae60;
}

.btn-success:hover {
    background-color: #229954;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.required {
    color: #e74c3c;
}

.hidden {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

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

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
    position: relative;
    color: #333;
}

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

.modal-content h2 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content h2::before {
    content: "⚠️";
    font-size: 20px;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

/* Warning and info boxes */
.delete-warning {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    margin: 15px 0;
    color: #721c24;
}

.user-details-box {
    background: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
    border-left: 4px solid #dc3545 !important;
}

.user-details-box p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.user-details-box strong {
    color: #495057;
    font-weight: 600;
}

.deletion-consequences {
    background: #fff3cd !important;
    padding: 12px !important;
    border-radius: 6px !important;
    margin: 15px 0 !important;
    border-left: 4px solid #ffc107 !important;
    color: #856404;
}

.deletion-consequences ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.deletion-consequences li {
    margin: 4px 0;
    font-size: 14px;
}

/* Confirmation section */
.confirmation-section {
    margin: 20px 0;
}

.confirmation-section p {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.confirmation-section input {
    width: 100% !important;
    padding: 10px !important;
    border: 2px solid #ced4da !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-family: monospace;
    text-align: center;
    font-weight: bold;
    background: #ffffff;
    color: #333;
}

.confirmation-section input:focus {
    border-color: #dc3545 !important;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.confirmation-section input.valid {
    border-color: #28a745 !important;
    background-color: #f8fff8;
}

#confirmationError {
    color: #dc3545 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    display: none !important;
    font-weight: 500;
}

/* Modal actions */
.modal-actions {
    margin-top: 20px !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.modal-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.modal-actions .btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.modal-actions .btn-danger {
    background-color: #dc3545;
    color: white;
}

.modal-actions .btn-danger:hover:not(:disabled) {
    background-color: #c82333;
    transform: translateY(-1px);
}

.modal-actions .btn-danger:disabled {
    background-color: #dc3545;
}

/* Table enhancements for delete functionality */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.user-table th,
.user-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.user-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

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

/* Action buttons in table */
.user-table .btn {
    padding: 6px 12px;
    margin: 0 2px;
    font-size: 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-table .btn:hover {
    transform: translateY(-1px);
}

.user-table .btn-danger {
    background-color: #dc3545;
    color: white;
}

.user-table .btn-danger:hover {
    background-color: #c82333;
}

/* Bulk actions styling */
#bulkActions {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: none;
}

#bulkActions .btn {
    margin-right: 10px;
}

/* User selection checkboxes */
input[type="checkbox"][name="userSelect"] {
    transform: scale(1.2);
    margin-right: 8px;
}

/* Status indicators */
.status-active {
    color: #28a745;
    font-weight: 600;
}

.status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Loading states */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#app {
    width: 100%;
    height: 100vh;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.pagination button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Searchable dropdown styles */
.searchable-dropdown {
    position: relative;
}

.dropdown-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item.selected {
    background-color: #3498db;
    color: white;
}

.no-results {
    padding: 10px;
    color: #666;
    font-style: italic;
}

#particles-js,
#particles-js-reset {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: #0E0090;
    z-index: 10;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    margin: 20px;
    position: relative;
    z-index: 100;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

#loginPage.active,
#passwordResetPage.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 33;
    background: #0E0090; 
}

.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    background-color: #f8f9fa;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 101;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #0E0090;
    box-shadow: 0 0 5px rgba(14, 0, 144, 0.3);
}

/* Submit button styles */
.login-form input[type="submit"],
.login-form button {
    width: 100%;
    padding: 12px 15px;
    margin: 15px 0 10px 0;
    background: #0E0090 !important;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    position: relative;
    z-index: 200;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-form input[type="submit"]:hover,
.login-form button:hover {
    background: #0a0070 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.login-form input[type="submit"]:active,
.login-form button:active {
    transform: translateY(0);
}

/* Form labels */
.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    z-index: 101;
}

/* Additional form elements */
.login-form .form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 101;
}

.login-form a {
    color: #0E0090;
    text-decoration: none;
    position: relative;
    z-index: 101;
}

.login-form a:hover {
    text-decoration: underline;
}

#loginPage.active,
#passwordResetPage.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: #0E0090; 
}

.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    background-color: #f8f9fa;
}

.upload-area:hover {
    background-color: #e9ecef;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

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

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-in-progress {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.order-link {
    color: #3498db;
    text-decoration: none;
}

.order-link:hover {
    text-decoration: underline;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

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

.form-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-header p {
    color: #6b7280;
    font-size: 14px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.password-input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1f2937;
    font-size: 14px;
    line-height: 20px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.invalid {
    border-color: #dc2626;
}

.form-input.valid {
    border-color: #059669;
}

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

.toggle-password:hover {
    color: #1f2937;
}

.validation-container {
    margin-top: 12px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.validation-header {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

.validation-rules {
    list-style: none;
}

.validation-rule {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.2s ease;
}

.rule-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.validation-rule.pending .rule-icon {
    background: #e5e7eb;
    color: #6b7280;
}

.validation-rule.pending .rule-icon::before {
    content: '○';
}

.validation-rule.valid .rule-icon {
    background: #059669;
    color: #fff;
}

.validation-rule.valid .rule-icon::before {
    content: '✓';
}

.validation-rule.invalid .rule-icon {
    background: #dc2626;
    color: #fff;
}

.validation-rule.invalid .rule-icon::before {
    content: '✗';
}

.validation-rule.pending {
    color: #6b7280;
}

.validation-rule.valid {
    color: #059669;
}

.validation-rule.invalid {
    color: #dc2626;
}

.btn-primary {
    background: #3b82f6;
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
}

.alert-warning {
    color: #92400e;
    background-color: #fef3c7;
    border-color: #fde68a;
}

/* Main Application Layout */
#mainApp {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar .logo {
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar .logo h2 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Sidebar Menu */
#sidebarMenu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

#sidebarMenu li {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
    color: #ecf0f1;
}

#sidebarMenu li:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
    color: white;
}

#sidebarMenu li.active {
    background: #3498db;
    border-left: 4px solid #2980b9;
    color: white;
    font-weight: 600;
}

#sidebarMenu li.hidden {
    display: none;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f8f9fa;
}

/* Header Styles */
.header {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    z-index: 99;
}

.header .logo {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

#userGreeting {
    color: #6c757d;
    font-weight: 500;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
}

/* Content Area */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: white;
    padding: 15px 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

/* Search Bar */
.search-bar {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-bar:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Ensure main app pages have proper background */
#mainApp .content .page {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animation for sidebar menu items */
#sidebarMenu li {
    position: relative;
    overflow: hidden;
}

#sidebarMenu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#sidebarMenu li:hover::before {
    left: 100%;
}

/* Loading state for pages */
.content .page.loading {
    opacity: 0.6;
    pointer-events: none;
}

.content .page.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Improve table styling in sidebar context */
.content .table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content .table {
    margin: 0;
    border-radius: 0;
}

/* Breadcrumb navigation */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #6c757d;
}

/* Login Pages Layout Override */
#loginPage.active,
#passwordResetPage.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: #0e0030;
}

/* Password Requirements Styles */
.password-requirements {
    margin-top: 10px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-size: 13px;
}

.password-requirements ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements li {
    margin: 4px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.password-requirements li::before {
    content: '✗';
    margin-right: 8px;
    color: #dc3545;
    font-weight: bold;
    width: 12px;
    text-align: center;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.valid::before {
    content: '✓';
    color: #28a745;
}

.password-requirements li.invalid {
    color: #dc3545;
}

/* Validation Summary */
.validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 20px;
    display: none;
}

.validation-summary.show {
    display: block;
}

.validation-summary h4 {
    color: #721c24;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 20px;
    color: #721c24;
}

.validation-summary li {
    font-size: 13px;
    margin: 4px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #mainApp {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        z-index: 1000;
        box-shadow: none;
    }
    
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .content {
        padding: 20px;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #2c3e50;
        font-size: 20px;
        cursor: pointer;
        padding: 5px;
    }
    
    .modal-content {
        background-color: #fff;
        margin: 2% auto;
        padding: 20px;
        border: none;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        animation: slideIn 0.3s ease-in-out;
        position: relative;
        color: #333;
    }

    .modal-content::-webkit-scrollbar {
        width: 8px;
    }

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

    .modal-content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .user-table {
        font-size: 14px;
    }
    
    .user-table th,
    .user-table td {
        padding: 8px;
    }

    .container {
        margin: 20px;
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}