.sidebar{width:280px;background:linear-gradient(180deg,#0f172a,#1e293b);color:#fff;min-height:100vh;display:flex;flex-direction:column;box-shadow:4px 0 12px #00000026,0 0 0 1px #3b82f61a inset;position:relative;overflow:hidden}.sidebar:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at top left,rgba(59,130,246,.1) 0%,transparent 50%),url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');pointer-events:none}.sidebar-header{padding:1.75rem 1.5rem;border-bottom:1px solid rgba(59,130,246,.2);background:#0f172a80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;z-index:1}.sidebar-header h2{margin:0;font-size:1.25rem;font-weight:700;color:#fff;letter-spacing:-.3px;background:linear-gradient(135deg,#fff,#e0e7ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sidebar-nav{flex:1;padding:1.5rem 0;position:relative;z-index:1}.sidebar-nav a{display:block;padding:1rem 1.5rem;color:#ffffffd9;text-decoration:none;transition:all .3s ease;border-left:3px solid transparent;font-weight:500;font-size:.95rem;position:relative}.sidebar-nav a:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,rgba(59,130,246,.2),transparent);transition:width .3s ease}.sidebar-nav a:hover{background:#3b82f61a;color:#fff;border-left-color:#3b82f680;padding-left:1.75rem}.sidebar-nav a:hover:before{width:100%}.sidebar-nav a.active{background:linear-gradient(90deg,#3b82f633,#3b82f60d);color:#fff;border-left-color:#3b82f6;font-weight:600;box-shadow:0 0 20px #3b82f633}.sidebar-nav a.active:before{width:100%}.message-modal{background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:8px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a,0 0 80px #3b82f626;border:1px solid rgba(255,255,255,.2);animation:slideUp .3s ease;overflow:hidden}.message-modal-success{border-top:4px solid #10b981}.message-modal-error{border-top:4px solid #ef4444}.message-modal-warning{border-top:4px solid #f59e0b}.message-modal-info{border-top:4px solid #3b82f6}.modal-body p{margin:0;color:#334155;line-height:1.3;white-space:pre-line;font-size:.8rem;font-weight:500}.modal-footer{display:flex;justify-content:flex-end;padding:.4rem 1rem;border-top:1px solid rgba(226,232,240,.8);background:linear-gradient(135deg,#f8fafc80,#f1f5f980)}.btn-ok{padding:.35rem 1rem;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #00000026;letter-spacing:.05px}.btn-ok-success{background:linear-gradient(135deg,#10b981,#059669)}.btn-ok-success:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.btn-ok-error{background:linear-gradient(135deg,#ef4444,#dc2626)}.btn-ok-error:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-2px);box-shadow:0 4px 12px #ef444466}.btn-ok-warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.btn-ok-warning:hover{background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.btn-ok-info{background:linear-gradient(135deg,#3b82f6,#2563eb)}.btn-ok-info:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;overflow-y:auto;padding:2rem 1rem;box-sizing:border-box}.change-password-modal{background:#fff;border-radius:8px;width:90%;max-width:450px;box-shadow:0 4px 12px #00000026;border:1px solid #e5e7eb;overflow:hidden}.change-password-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.change-password-modal .modal-header h2{margin:0;color:#1e293b;font-weight:700;font-size:1.1rem;letter-spacing:-.1px}.change-password-modal .close-btn{background:#e5e7eb;border:none;font-size:1.25rem;cursor:pointer;color:#64748b;line-height:1;padding:0;width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .15s ease}.change-password-modal .close-btn:hover{background:#d1d5db;color:#374151}.change-password-modal form{padding:1.5rem}.change-password-modal .form-group{margin-bottom:1rem}.change-password-modal .form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.875rem}.change-password-modal .form-group input{width:100%;padding:.625rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .15s ease;box-sizing:border-box}.change-password-modal .form-group input:focus{outline:none;border-color:#3b82f6}.change-password-modal .form-group small{display:block;margin-top:.25rem;color:#6b7280;font-size:.75rem}.change-password-modal .error-message{background-color:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.change-password-modal .form-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.5rem}.change-password-modal .form-actions button{padding:.625rem 1.25rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .15s ease}.change-password-modal .form-actions button[type=button]{background-color:#f3f4f6;color:#374151}.change-password-modal .form-actions button[type=button]:hover:not(:disabled){background-color:#e5e7eb}.change-password-modal .form-actions button[type=submit]{background-color:#3b82f6;color:#fff}.change-password-modal .form-actions button[type=submit]:hover:not(:disabled){background-color:#2563eb}.change-password-modal .form-actions button:disabled{opacity:.5;cursor:not-allowed}.header{background:#fff;border-top:1px solid #000000;border-bottom:1px solid #000000;padding:1rem 2rem}.header-content{display:flex;justify-content:space-between;align-items:center}.header h1{margin:0;font-size:1.25rem;color:#000;font-weight:700}.header-user{display:flex;align-items:center;gap:.5rem}.header .user-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .625rem;background-color:#fff!important;color:#000!important;border:1px solid #e5e7eb!important;border-radius:6px;font-size:.75rem!important;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;width:auto!important;text-transform:none!important;letter-spacing:normal!important;margin:0!important;box-shadow:none!important}.header .user-btn:hover{background-color:#f9fafb!important;border-color:#d1d5db!important;transform:none!important}.header .user-btn:before{display:none!important}.header .user-btn svg{width:14px;height:14px;flex-shrink:0}.header .user-btn .user-unit{color:#6b7280;font-weight:400}.header .super-admin-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .625rem;background-color:#dc2626!important;color:#fff!important;border:none!important;border-radius:6px;font-size:.75rem!important;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;width:auto!important;text-transform:none!important;letter-spacing:normal!important;margin:0!important;box-shadow:none!important}.header .super-admin-btn:hover{background-color:#b91c1c!important;transform:none!important}.header .super-admin-btn:before{display:none!important}.header .super-admin-btn svg{width:14px;height:14px;flex-shrink:0}.header .avatar-btn{width:32px!important;height:32px!important;border-radius:50%;background-color:#1e40af!important;color:#fff!important;border:none!important;font-size:.875rem!important;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;padding:0!important;text-transform:none!important;letter-spacing:normal!important;margin:0!important;box-shadow:none!important}.header .avatar-btn:hover{background-color:#1e3a8a!important;transform:scale(1.05)}.header .avatar-btn:before{display:none!important}.avatar-dropdown-container{position:relative}.avatar-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:200px;z-index:1000;overflow:hidden;border:1px solid #e5e7eb}.dropdown-header{padding:.75rem 1rem;font-weight:700;font-size:.875rem;color:#111827;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.dropdown-user-info{display:flex;flex-direction:column;gap:.25rem}.dropdown-username{font-weight:700;font-size:.875rem;color:#111827}.dropdown-unit{font-weight:400;font-size:.75rem;color:#6b7280}.dropdown-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background-color:#fff;border:none;text-align:left;font-size:.875rem;color:#374151;cursor:pointer;transition:background-color .2s ease}.dropdown-item:hover{background-color:#f3f4f6}.dropdown-item svg{width:16px;height:16px;flex-shrink:0;color:#374151}.logout-item{color:#dc2626}.logout-item:hover{background-color:#fef2f2;color:#b91c1c}.logout-item svg{color:#dc2626}.logout-item:hover svg{color:#b91c1c}.footer{background:linear-gradient(135deg,#1e293b,#0f172a);border-top:1px solid rgba(59,130,246,.2);padding:1rem 2rem;margin-top:auto;box-shadow:0 -4px 12px #0000001a;position:relative}.footer:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(59,130,246,.3),transparent)}.footer-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.footer-left{display:flex;flex-direction:column;gap:.25rem}.footer-right{display:flex;align-items:center}.welcome-text{font-weight:600;color:#ffffffe6;font-size:.9rem;letter-spacing:.3px}.footer-unit{font-weight:400;color:#ffffffb3;font-size:.85rem}.footer-info{font-size:.8rem;color:#fff9;letter-spacing:.2px}@media (max-width: 768px){.footer-content{flex-direction:column;align-items:flex-start}}.layout{display:flex;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#f1f5f9);position:relative}.layout:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 20%,rgba(59,130,246,.03) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(37,99,235,.03) 0%,transparent 50%);pointer-events:none;z-index:0}.layout-content{flex:1;display:flex;flex-direction:column;min-height:100vh;position:relative;z-index:1}.main-content{flex:1;padding:2.5rem;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-height:calc(100vh - 140px);position:relative}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#0a1929,#1a365d,#2c5282);position:relative;padding:2rem;overflow:hidden}.login-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(59,130,246,.15) 0%,transparent 70%);animation:pulse 8s ease-in-out infinite;pointer-events:none}.login-container:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgba(59,130,246,.1) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(37,99,235,.1) 0%,transparent 50%),url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');opacity:1;pointer-events:none}@keyframes pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.8}}.login-content{display:flex;align-items:center;justify-content:center;width:100%;position:relative;z-index:1}.login-box{background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:2rem 2.5rem;border-radius:16px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a,0 0 80px #3b82f626;width:100%;max-width:420px;position:relative;z-index:1;border:1px solid rgba(255,255,255,.2);transition:transform .3s ease,box-shadow .3s ease}.login-box:hover{transform:translateY(-2px);box-shadow:0 25px 70px #00000059,0 0 0 1px #ffffff26,0 0 100px #3b82f633}.login-box:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#3b82f6,#2563eb,#1d4ed8);border-radius:16px 16px 0 0}.login-header{text-align:center;margin-bottom:1.75rem}.login-box h1{margin:0 0 .375rem;background:linear-gradient(135deg,#1e40af,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:1.875rem;font-weight:700;letter-spacing:-.5px}.login-subtitle{margin:0;color:#64748b;font-size:.875rem;font-weight:500;letter-spacing:.3px}.form-group{margin-bottom:1.25rem}.login-box .form-group label{display:block!important;margin-bottom:.5rem!important;margin-top:0!important;color:#1e293b!important;font-weight:600!important;font-size:.8125rem!important;letter-spacing:.3px!important;text-transform:uppercase!important;width:auto!important;max-width:none!important;height:auto!important;padding:0!important;line-height:1.5!important}.login-box .form-group input,.login-box input[type=text],.login-box input[type=password]{width:100%!important;max-width:100%!important;padding:.75rem 1rem!important;border:1px solid #e2e8f0!important;border-radius:8px!important;font-size:.9375rem!important;box-sizing:border-box!important;transition:all .3s ease!important;background:#fff!important;color:#1e293b!important;font-weight:400!important;height:auto!important;min-height:auto!important;max-height:none!important;line-height:1.5!important;margin:0!important;display:block!important}.login-box .form-group input:focus,.login-box input[type=text]:focus,.login-box input[type=password]:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 4px #3b82f61a,0 4px 12px #3b82f626!important;background:#fff!important}.login-box .form-group input::placeholder,.login-box input[type=text]::placeholder,.login-box input[type=password]::placeholder{color:#94a3b8!important;font-weight:400!important}.error-message{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;padding:.75rem 1rem;border-radius:8px;margin-bottom:1.25rem;text-align:center;border-left:3px solid #ef4444;font-size:.8125rem;font-weight:500;box-shadow:0 2px 8px #ef444426}.login-box button{width:100%;padding:.875rem 1rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .3s ease;position:relative;z-index:1;margin-top:.5rem;box-shadow:0 4px 14px #3b82f666,0 0 #3b82f680;letter-spacing:.5px;text-transform:uppercase;overflow:hidden}.login-box button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.login-box button:hover:before{left:100%}.login-box button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 20px #3b82f680,0 0 0 4px #3b82f633}.login-box button:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 12px #3b82f666,0 0 0 2px #3b82f64d}.login-box button:disabled{opacity:.6;cursor:not-allowed;pointer-events:none;background:linear-gradient(135deg,#94a3b8,#64748b)}.dashboard{max-width:1400px}.dashboard h1{margin-bottom:2rem;color:#1e40af;font-weight:700;font-size:2rem;letter-spacing:-.3px}.dashboard-loading{text-align:center;padding:3rem;color:#64748b;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;display:flex;align-items:center;gap:1.25rem;transition:box-shadow .2s ease;border:1px solid rgba(59,130,246,.1)}.stat-card:hover{box-shadow:0 4px 12px #0000001f}.stat-icon{font-size:3rem;line-height:1}.stat-content{flex:1}.stat-content h3{margin:0 0 .5rem;font-size:.9rem;color:#666;font-weight:500}.stat-value{margin:0;font-size:2rem;font-weight:700;color:#333}.stat-label{margin:.25rem 0 0;font-size:.85rem;color:#999}.stat-primary{border-left:4px solid #3b82f6}.stat-success{border-left:4px solid #10b981}.stat-success-alt{border-left:4px solid #22c55e}.stat-info{border-left:4px solid #3b82f6}.stat-warning{border-left:4px solid #f59e0b}.stat-danger{border-left:4px solid #ef4444}.stat-link{text-decoration:none;color:inherit;cursor:pointer;border-left-color:#8b5cf6!important}.stat-link:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.stat-link .stat-content h3{color:#1e40af}.stat-link .stat-value{color:#8b5cf6;font-size:1.25rem;font-weight:600}.activity-history{max-width:1400px}.activity-history-header{margin-bottom:2rem}.activity-history h1{margin-bottom:.5rem;color:#1e40af;font-weight:700;font-size:2rem;letter-spacing:-.3px}.activity-history-subtitle{color:#64748b;font-size:.95rem;margin:0}.activity-history-loading{text-align:center;padding:3rem;color:#64748b;font-weight:500}.activity-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.activity-item{display:flex;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border-left:4px solid #3b82f6;transition:background-color .2s ease;border:1px solid rgba(59,130,246,.1)}.activity-item:hover{background:#f1f5f9}.activity-icon{font-size:1.5rem;line-height:1;display:flex;align-items:center}.activity-content{flex:1}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.activity-action{font-weight:600;color:#333;font-size:1rem}.activity-date{font-size:.85rem;color:#666}.activity-details{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;color:#666}.activity-admin{color:#555}.activity-admin strong{color:#333}.activity-unit{color:#999;font-size:.85rem}.activity-target,.activity-ou,.activity-ip{color:#666}.empty-state{text-align:center;padding:3rem;color:#666;background:#fff;border-radius:12px;border:1px solid rgba(59,130,246,.1)}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem;padding:1.5rem}.pagination-btn{padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;transition:background-color .2s ease}.pagination-btn:hover:not(:disabled){background:#2563eb}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background:#94a3b8}.pagination-info{color:#64748b;font-size:.95rem;font-weight:600;letter-spacing:.3px}.ad-user-list{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0f172a0f,0 12px 30px #0f172a0a;overflow:hidden}.ad-user-list table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.875rem}.ad-user-list thead{background-color:#f9fafb}.ad-user-list th{padding:.9rem 1rem;text-align:left;font-weight:600;font-size:.75rem;color:#6b7280;border-bottom:1px solid #e5e7eb}.ad-user-list td{padding:.9rem 1rem;border-bottom:1px solid #f1f5f9;color:#111827;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ad-user-list tr:last-child td{border-bottom:none}.ad-user-list tbody tr{transition:background-color .15s ease}.ad-user-list tbody tr:hover{background-color:#f9fafb}.ad-user-list td:last-child{white-space:nowrap;width:1%}.ad-user-list tbody tr td:last-child>div{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;align-items:center}.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:.15rem .75rem;border-radius:999px;font-size:.75rem;font-weight:500;line-height:1.2;border:1px solid transparent}.status-badge.enabled{background-color:#16a34a1f;color:#15803d;border-color:#22c55e}.status-badge.disabled{background-color:#e5e7eb;color:#4b5563;border-color:#d1d5db}.ad-user-list .action-buttons{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;align-items:center}.btn-icon.btn-edit{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.btn-icon.btn-edit:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf666}.btn-icon.btn-disable{background:linear-gradient(135deg,#f97316,#ea580c)}.btn-icon.btn-disable:hover{background:linear-gradient(135deg,#ea580c,#c2410c);box-shadow:0 4px 12px #f9731666}.btn-icon.btn-enable{background:linear-gradient(135deg,#10b981,#059669)}.btn-icon.btn-enable:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b98166}.btn-icon.btn-reset{background:linear-gradient(135deg,#6366f1,#4f46e5)}.btn-icon.btn-reset:hover{background:linear-gradient(135deg,#4f46e5,#4338ca);box-shadow:0 4px 12px #6366f166}.user-photo-cell{display:flex;align-items:center;justify-content:center}.user-photo{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb;background:#f3f4f6}.user-photo-placeholder{width:40px;height:40px;border-radius:50%;background:#f3f4f6;border:2px solid #e5e7eb;display:flex;align-items:center;justify-content:center;color:#9ca3af}.photo-upload-container{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}.photo-preview-section{display:flex;justify-content:center}.photo-preview-wrapper{width:128px;height:128px;border-radius:50%;overflow:hidden;border:3px solid #e5e7eb;background:#fff;display:flex;align-items:center;justify-content:center}.photo-preview{width:100%;height:100%;object-fit:cover}.photo-preview-wrapper img,.photo-preview-wrapper>div{width:100%;height:100%}.photo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#9ca3af;background:#f3f4f6}.photo-upload-section{display:flex;flex-direction:column;gap:.5rem;align-items:center}.photo-file-input{display:none}.photo-upload-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background-color .2s}.photo-upload-button:hover{background:#2563eb}.photo-upload-button:active{background:#1d4ed8}.photo-upload-submit{padding:.5rem 1rem;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background-color .2s}.photo-upload-submit:hover:not(:disabled){background:#059669}.photo-upload-submit:disabled{opacity:.6;cursor:not-allowed}.photo-upload-cancel{padding:.5rem 1rem;background:#6b7280;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background-color .2s}.photo-upload-cancel:hover:not(:disabled){background:#4b5563}.photo-upload-cancel:disabled{opacity:.6;cursor:not-allowed}.photo-error{padding:.75rem;background:#fee2e2;color:#dc2626;border-radius:6px;font-size:.875rem;text-align:center}.photo-success{padding:.75rem;background:#d1fae5;color:#059669;border-radius:6px;font-size:.875rem;text-align:center}.modal-content.ad-user-form-modal{background:#fff;border-radius:12px;width:90%;max-width:500px;box-shadow:0 10px 40px #0f172a40;animation:slideUp .25s ease;position:relative;overflow:hidden;padding:10px;box-sizing:border-box}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:.7rem;border-bottom:none}.modal-title-section{flex:1}.modal-header h2{margin:0 0 .25rem;color:#0f172a;font-weight:700;font-size:1.1rem;letter-spacing:-.02em}.modal-subtitle{margin:0;color:#6b7280;font-size:.85rem;font-weight:400}.close-btn{background:#e5e7eb;border:none;font-size:1rem;cursor:pointer;color:#4b5563;line-height:1;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;transition:all .2s ease;flex-shrink:0}.close-btn:hover{background:#d1d5db;color:#111827}.ad-user-form-modal form{padding:0 .5rem .5rem}.ad-user-form-modal .form-group{margin-bottom:1.25rem!important}.ad-user-form-modal .form-group label{display:block!important;margin-bottom:.5rem!important;color:#111827!important;font-weight:600!important;font-size:.8rem!important;letter-spacing:normal!important;text-transform:none!important}.ad-user-form-modal .input-wrapper{position:relative!important;display:flex!important;align-items:center!important;width:100%!important;max-width:100%!important}.ad-user-form-modal .input-icon{position:absolute!important;left:1rem!important;top:50%!important;transform:translateY(-50%)!important;color:#9ca3af!important;pointer-events:none!important;width:20px!important;height:20px!important;z-index:2!important;flex-shrink:0!important}.ad-user-form-modal .form-group input{width:100%!important;max-width:100%!important;padding:.625rem .875rem!important;border:1px solid #e5e7eb!important;border-radius:8px!important;font-size:.875rem!important;box-sizing:border-box!important;transition:all .2s ease!important;background:#fff!important;color:#111827!important;height:auto!important;min-height:auto!important;max-height:none!important;line-height:1.5!important;margin:0!important;font-weight:400!important}.ad-user-form-modal .input-wrapper input{padding-left:2.75rem!important}.ad-user-form-modal .password-input-wrapper input{padding-left:2.75rem!important;padding-right:2.75rem!important}.ad-user-form-modal .form-group input::placeholder{color:#9ca3af!important}.ad-user-form-modal .form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f626!important}.ad-user-form-modal .form-group input:disabled{background-color:#f9fafb!important;cursor:not-allowed!important;border-color:#e5e7eb!important}.ad-user-form-modal .password-toggle{position:absolute!important;right:1rem!important;top:50%!important;transform:translateY(-50%)!important;background:transparent!important;border:none!important;cursor:pointer!important;color:#6b7280!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;z-index:3!important;transition:color .2s ease!important;flex-shrink:0!important}.ad-user-form-modal .password-toggle:hover{color:#111827!important}.ad-user-form-modal .password-toggle svg{width:20px!important;height:20px!important}.error-message{background:#fef2f2;color:#991b1b;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;border-left:3px solid #ef4444;font-weight:500;white-space:pre-line;line-height:1.5;font-size:.85rem}.form-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-cancel{padding:.6rem 1.25rem;background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:999px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s ease}.btn-cancel:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.btn-save{padding:.6rem 1.5rem;background:#2563eb;color:#fff;border:none;border-radius:999px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .2s ease}.btn-save:hover:not(:disabled){background:#1d4ed8}.form-actions button:disabled{opacity:.7;cursor:not-allowed}@media (max-width: 640px){.modal-content.ad-user-form-modal{max-width:100%;margin:1rem}.modal-header{padding:1.25rem 1.25rem .75rem}.modal-content form{padding:0 1.25rem 1.25rem}.modal-header h2{font-size:1rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172ab3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:center;z-index:2000;animation:fadeIn .2s ease;overflow-y:auto;padding:2rem 1rem;box-sizing:border-box}.modal-content{background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:8px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a,0 0 80px #3b82f626;border:1px solid rgba(255,255,255,.2);animation:slideUp .3s ease;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:.4rem 1rem;border-bottom:1px solid rgba(226,232,240,.8);background:linear-gradient(135deg,#f8fafc80,#f1f5f980);border-radius:8px 8px 0 0}.modal-header h2{margin:0;color:#1e293b;font-weight:700;font-size:.9rem;letter-spacing:-.1px}.modal-content form{padding:.5rem 1rem}.form-group{margin-bottom:.4rem}.form-group label{display:block;margin-bottom:.2rem;color:#1e293b;font-weight:600;font-size:.7rem;letter-spacing:.05px;text-transform:uppercase}.form-group input{width:100%;padding:.25rem .75rem;border:2px solid #e2e8f0;border-radius:6px;font-size:.8rem;box-sizing:border-box;transition:all .3s ease;background:#fff;color:#1e293b;font-weight:500;height:auto;min-height:32px}.error-message{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;padding:.35rem .75rem;border-radius:6px;margin-bottom:.4rem;border-left:3px solid #ef4444;font-weight:500;white-space:pre-line;line-height:1.25;font-size:.7rem;box-shadow:0 4px 12px #ef444426}.form-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.4rem;padding-top:.4rem;border-top:1px solid rgba(226,232,240,.8)}.form-actions button{padding:.35rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .3s ease;letter-spacing:.05px;box-shadow:0 2px 8px #00000026}.form-actions button[type=button]{background-color:#e0e0e0;color:#333}.form-actions button[type=button]:hover:not(:disabled){background-color:#d0d0d0}.form-actions button[type=submit]{background-color:#9b59b6;color:#fff}.form-actions button[type=submit]:hover:not(:disabled){background-color:#8e44ad}.form-actions button:disabled{opacity:.6;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172ab3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:center;z-index:3000;animation:fadeIn .2s ease}.confirm-modal{background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:8px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a,0 0 80px #3b82f626;border:1px solid rgba(255,255,255,.2);animation:slideUp .3s ease;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:.4rem 1rem;border-bottom:1px solid rgba(226,232,240,.8);background:linear-gradient(135deg,#f8fafc80,#f1f5f980)}.modal-header h2{margin:0;color:#1e293b;font-size:.9rem;font-weight:700;letter-spacing:-.1px}.close-btn{background:#e2e8f080;border:none;font-size:1rem;cursor:pointer;color:#64748b;line-height:1;padding:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .3s ease}.close-btn:hover{background:#ef44441a;color:#ef4444;transform:rotate(90deg)}.modal-body{padding:.4rem 1rem}.modal-body p{margin:0;color:#334155;line-height:1.3;font-size:.8rem;font-weight:500}.modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:.4rem 1rem;border-top:1px solid rgba(226,232,240,.8);background:linear-gradient(135deg,#f8fafc80,#f1f5f980)}.btn-cancel{padding:.35rem 1rem;background:#e2e8f0cc;color:#475569;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .3s ease;letter-spacing:.05px}.btn-cancel:hover{background:#cbd5e1e6;border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.btn-confirm{padding:.35rem 1rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #3b82f64d;letter-spacing:.05px}.btn-confirm:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.btn-confirm.danger{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef44444d}.btn-confirm.danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef444466}.ou-selector-container{margin-bottom:1.5rem}.ou-select{padding:.625rem 1rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;min-width:200px;background-color:#fff;color:#374151;cursor:pointer}.ou-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.ou-display{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem}.ou-label{font-weight:600;color:#6b7280}.ou-name{color:#111827;font-weight:500}.create-user-btn{width:auto;min-width:150px;max-width:220px;white-space:nowrap}.search-filter-container{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem;padding:1rem;background-color:#fff;border-radius:8px;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.search-wrapper{position:relative;flex:1;display:flex;align-items:center}.search-icon{position:absolute;left:.75rem;color:#9ca3af;pointer-events:none;z-index:1}.search-input{width:100%;padding:.625rem .75rem .625rem 2.5rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#111827;background-color:#fff;transition:all .2s ease}.search-input::placeholder{color:#9ca3af}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-clear{position:absolute;right:.75rem;background:none;border:none;color:#9ca3af;font-size:1.25rem;cursor:pointer;padding:0;line-height:1;z-index:1;transition:color .2s ease}.search-clear:hover{color:#374151}.filter-wrapper{position:relative;min-width:150px}.filter-select{width:100%;padding:.625rem 2rem .625rem .75rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#374151;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;transition:all .2s ease}.filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-select:hover{border-color:#d1d5db}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding:1rem 0}.pagination-info{color:#6b7280;font-size:.875rem;font-weight:400}.pagination-buttons{display:flex;gap:.5rem;align-items:center}.pagination-btn{padding:.5rem 1rem;background-color:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:80px}.pagination-btn:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af;color:#111827}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background-color:#f3f4f6;color:#9ca3af;border-color:#e5e7eb}.pagination-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f61a;border-color:#3b82f6}@media (max-width: 768px){.admin-management{padding:1.25rem 1rem 1.75rem}.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.page-header h1{font-size:1.4rem}.create-user-btn{align-self:stretch;width:100%;justify-content:center}.pagination{flex-direction:column;gap:1rem;align-items:stretch}.pagination-buttons{justify-content:center}}.admin-list{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0f172a0f,0 12px 30px #0f172a0a;overflow:hidden}.admin-list table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.875rem}.admin-list thead{background-color:#f9fafb}.admin-list th{padding:.9rem 1rem;text-align:left;font-weight:600;font-size:.75rem;color:#6b7280;border-bottom:1px solid #e5e7eb}.admin-list td{padding:.9rem 1rem;border-bottom:1px solid #f1f5f9;color:#111827;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.admin-list tr:last-child td{border-bottom:none}.admin-list tbody tr{transition:background-color .15s ease}.admin-list tbody tr:hover{background-color:#f9fafb}.admin-list td:last-child{white-space:nowrap;width:1%}.admin-list tbody tr td:last-child>div{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;align-items:center}.badge{display:inline-flex;align-items:center;justify-content:center;padding:.15rem .75rem;border-radius:999px;font-size:.75rem;font-weight:500;line-height:1.2;border:1px solid transparent}.badge.super-admin{background-color:#dc2626;color:#fff;border-color:#b91c1c}.badge.admin{background-color:#3b82f6;color:#fff;border-color:#2563eb}.admin-list .action-buttons{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;align-items:center}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;border:none;cursor:pointer;transition:all .2s ease;padding:0;position:relative}.btn-icon svg{width:20px;height:20px;stroke:#fff}.btn-icon:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.btn-icon:active{transform:translateY(0)}.btn-icon.btn-edit{background:linear-gradient(135deg,#3b82f6,#2563eb)}.btn-icon.btn-edit:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f666}.btn-icon.btn-permissions{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.btn-icon.btn-permissions:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf666}.btn-icon.btn-delete{background:linear-gradient(135deg,#ef4444,#dc2626)}.btn-icon.btn-delete:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef444466}.loading,.empty-state{text-align:center;padding:2.5rem 1.5rem;color:#6b7280;background-color:#fff;border-radius:12px;border:1px dashed #e5e7eb;font-size:.9rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:2000;animation:fadeIn .2s ease;overflow-y:auto;padding:2rem 1rem;box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content.admin-form-modal{background:#fff!important;border-radius:12px!important;width:90%!important;max-width:500px!important;box-shadow:0 10px 40px #0f172a40!important;animation:slideUp .25s ease!important;position:relative!important;overflow:hidden!important;padding:10px!important;box-sizing:border-box!important;margin:0!important;border:none!important}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.admin-form-modal .modal-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;padding:.7rem!important;border-bottom:none!important;background:transparent!important}.admin-form-modal .modal-title-section{flex:1!important}.admin-form-modal .modal-header h2{margin:0 0 .25rem!important;color:#0f172a!important;font-weight:700!important;font-size:1.1rem!important;letter-spacing:-.02em!important}.admin-form-modal .modal-subtitle{margin:0!important;color:#6b7280!important;font-size:.85rem!important;font-weight:400!important}.admin-form-modal .close-btn{background:#e5e7eb!important;border:none!important;font-size:1rem!important;cursor:pointer!important;color:#4b5563!important;line-height:1!important;width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;transition:all .2s ease!important;flex-shrink:0!important;padding:0!important;margin:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important}.admin-form-modal .close-btn:hover{background:#d1d5db!important;color:#111827!important;transform:none!important}.admin-form-modal form{padding:0 .5rem .5rem!important;margin:0!important;width:100%!important;box-sizing:border-box!important}.admin-form-modal .form-group{margin-bottom:1.25rem!important}.admin-form-modal .form-group label{display:block!important;margin-bottom:.5rem!important;color:#111827!important;font-weight:600!important;font-size:.8rem!important;letter-spacing:normal!important;text-transform:none!important}.admin-form-modal .form-group input{width:100%!important;max-width:100%!important;padding:.625rem .875rem!important;border:1px solid #e5e7eb!important;border-radius:8px!important;font-size:.875rem!important;box-sizing:border-box!important;transition:all .2s ease!important;background:#fff!important;color:#111827!important;height:auto!important;min-height:auto!important;max-height:none!important;line-height:1.5!important;margin:0!important;font-weight:400!important}.admin-form-modal .form-group input::placeholder{color:#9ca3af!important}.admin-form-modal .form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f626!important}.admin-form-modal .form-group input:disabled{background-color:#f9fafb!important;cursor:not-allowed!important;border-color:#e5e7eb!important}.admin-form-modal .checkbox-label{display:flex!important;align-items:center!important;gap:.75rem!important;cursor:pointer!important;padding:.75rem 1rem!important;border-radius:8px!important;transition:background .2s!important;background:#eff6ff!important;border:1px solid #dbeafe!important;margin:0!important;width:100%!important;box-sizing:border-box!important}.admin-form-modal .checkbox-label:hover{background:#dbeafe!important;border-color:#bfdbfe!important}.admin-form-modal .checkbox-label input[type=checkbox]{width:20px!important;height:20px!important;cursor:pointer!important;accent-color:#2563eb!important;margin:0!important;flex-shrink:0!important;border-radius:4px!important}.admin-form-modal .checkbox-label span{color:#111827!important;font-size:.875rem!important;font-weight:500!important;flex:1!important}.admin-form-modal .form-group small{display:block!important;margin-top:.5rem!important;color:#6b7280!important;font-size:.75rem!important;font-weight:400!important}.admin-form-modal .error-message{background:#fef2f2!important;color:#991b1b!important;padding:.75rem 1rem!important;border-radius:8px!important;margin-bottom:1rem!important;border-left:3px solid #ef4444!important;font-weight:500!important;white-space:pre-line!important;line-height:1.5!important;font-size:.85rem!important}.admin-form-modal .form-actions{display:flex!important;justify-content:flex-end!important;gap:.75rem!important;margin-top:1.5rem!important;padding-top:1.5rem!important;border-top:1px solid #e5e7eb!important}.admin-form-modal .btn-cancel{padding:.6rem 1.25rem!important;background:#fff!important;color:#111827!important;border:1px solid #e5e7eb!important;border-radius:999px!important;cursor:pointer!important;font-size:.85rem!important;font-weight:500!important;transition:all .2s ease!important;width:auto!important;min-width:auto!important;max-width:none!important;margin:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important}.admin-form-modal .btn-cancel:hover:not(:disabled){background:#f9fafb!important;border-color:#d1d5db!important;transform:none!important}.admin-form-modal .btn-save{padding:.6rem 1.5rem!important;background:#2563eb!important;color:#fff!important;border:none!important;border-radius:999px!important;cursor:pointer!important;font-size:.85rem!important;font-weight:600!important;transition:all .2s ease!important;width:auto!important;min-width:auto!important;max-width:none!important;margin:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important}.admin-form-modal .btn-save:hover:not(:disabled){background:#1d4ed8!important;transform:none!important}.admin-form-modal .form-actions button:disabled{opacity:.7!important;cursor:not-allowed!important;background:#9ca3af!important}.admin-form-modal .btn-save:disabled{background:#9ca3af!important}@media (max-width: 640px){.modal-content.admin-form-modal{max-width:100%!important;margin:1rem!important}.admin-form-modal .modal-header{padding:1.25rem 1.25rem .75rem!important}.admin-form-modal form{padding:0 1.25rem 1.25rem!important}.admin-form-modal .modal-header h2{font-size:1rem!important}}.permission-manager{max-width:700px;max-height:90vh}.permission-content{padding:1.5rem}.add-permission{display:flex;gap:1rem;margin-bottom:2rem}.ou-select{flex:1;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.btn-add{padding:.75rem 1.5rem;background-color:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:background-color .2s}.btn-add:hover:not(:disabled){background-color:#2980b9}.btn-add:disabled{opacity:.6;cursor:not-allowed}.permissions-list{display:flex;flex-direction:column;gap:1rem}.permission-item{border:1px solid #e0e0e0;border-radius:4px;padding:1rem;background-color:#f8f9fa}.permission-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.permission-header h3{margin:0;color:#333;font-size:1rem;font-weight:600}.btn-remove{padding:.25rem .4rem;background-color:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .2s;white-space:nowrap;line-height:1;min-height:auto;width:auto;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background-color:#c0392b}.permission-options{display:flex;gap:1.5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:auto;cursor:pointer}.error-message{background-color:#fee;color:#c33;padding:.75rem;border-radius:4px;margin-bottom:1rem}.empty-state{text-align:center;padding:2rem;color:#666}.admin-management{max-width:1400px;margin:0 auto;padding:2rem 2rem 2.5rem;--adm-bg-surface: #f9fafb;--adm-border-subtle: #e5e7eb;--adm-border-strong: #cbd5f5;--adm-text-main: #0f172a;--adm-text-muted: #6b7280;--adm-primary: #2563eb;--adm-primary-soft: #dbeafe;--adm-primary-strong: #1d4ed8;--adm-primary-focus: rgba(37, 99, 235, .18);background:var(--adm-bg-surface);border-radius:18px;border:1px solid var(--adm-border-subtle);box-shadow:0 18px 40px #0f172a17,0 0 0 1px #94a3b826}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:0;border-bottom:none}.page-title-section{flex:1}.page-header h1{margin:0 0 .5rem;font-weight:700;font-size:2rem;letter-spacing:-.02em;color:#111827;line-height:1.2}.page-subtitle{margin:0;font-size:.875rem;color:#6b7280;font-weight:400;line-height:1.5}.btn-create-user{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem .875rem;background-color:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;box-shadow:0 1px 2px #0000001a;max-width:200px;width:100%}.btn-create-user:hover{background-color:#2563eb;box-shadow:0 2px 4px #00000026}.btn-create-user:active{background-color:#1d4ed8;box-shadow:0 1px 2px #0000001a}.btn-create-user svg{width:14px;height:14px;flex-shrink:0}.settings-page{max-width:800px}.settings-page h1{margin-bottom:1.5rem;color:#1e293b;font-weight:700;font-size:2rem;letter-spacing:-.5px;background:linear-gradient(135deg,#1e40af,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.settings-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #e5e7eb}.settings-tab{padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:2px solid transparent;color:#6b7280;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;margin-bottom:-2px}.settings-tab:hover{color:#3b82f6}.settings-tab.active{color:#2563eb;border-bottom-color:#2563eb;font-weight:600}.settings-form{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2.5rem;border-radius:16px;box-shadow:0 4px 12px #00000014,0 0 0 1px #3b82f61a;border:1px solid rgba(59,130,246,.1)}.form-group{margin-bottom:1.75rem}.form-group label{display:block;margin-bottom:.75rem;color:#1e293b;font-weight:600;font-size:.9rem;letter-spacing:.3px;text-transform:uppercase}.form-group input{width:100%;padding:1rem 1.25rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;box-sizing:border-box;transition:all .3s ease;background:#fff;color:#1e293b;font-weight:500}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a,0 4px 12px #3b82f626}.form-group small{display:block;margin-top:.5rem;color:#64748b;font-size:.875rem;font-weight:500}.error-message{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;padding:1rem 1.25rem;border-radius:12px;margin-bottom:1.5rem;border-left:4px solid #ef4444;font-weight:500;box-shadow:0 4px 12px #ef444426}.form-actions{display:flex;gap:1rem;margin-top:2rem}.btn-test,.btn-save{padding:.875rem 1.75rem;border:none;border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #00000026;letter-spacing:.3px}.btn-test{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.btn-test:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.btn-save{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-save:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.btn-test:disabled,.btn-save:disabled{opacity:.6;cursor:not-allowed;background:linear-gradient(135deg,#94a3b8,#64748b)}.test-result{margin-top:1.5rem;padding:1.25rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.test-result.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981;border-left:4px solid #10b981}.test-result.error{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444;border-left:4px solid #ef4444}.test-result strong{display:block;margin-bottom:.5rem}.test-result p{margin:0}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}
