.app{max-width:1400px;margin:0 auto;padding:20px}header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:8px;margin-bottom:20px;box-shadow:0 4px 6px #0000001a}header h1{font-size:28px;margin-bottom:5px}header p{opacity:.9;font-size:14px}.nav-container{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;flex-wrap:wrap}.tabs{display:flex;gap:10px;flex-wrap:wrap}.tabs button{padding:12px 24px;border:none;background:#fff;cursor:pointer;border-radius:6px;font-size:14px;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #0000001a}.tabs button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.tabs button.active{background:#667eea;color:#fff}main{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.section-header h2{font-size:22px;color:#333}.btn{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3}.btn-success{background:#48bb78;color:#fff}.btn-success:hover:not(:disabled){background:#38a169}.btn-danger{background:#f56565;color:#fff}.btn-danger:hover:not(:disabled){background:#e53e3e}.btn-warning{background:#ed8936;color:#fff}.btn-warning:hover:not(:disabled){background:#dd6b20}.btn-secondary{background:#718096;color:#fff}.btn-secondary:hover:not(:disabled){background:#4a5568}.btn-sm{padding:6px 12px;font-size:12px}.form{background:#f7fafc;padding:25px;border-radius:8px;margin-bottom:25px;border:1px solid #e2e8f0}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;margin-bottom:15px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:6px;font-weight:600;color:#2d3748;font-size:14px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid #cbd5e0;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:10px;margin-top:20px}table{width:100%;border-collapse:collapse}th,td{padding:14px;text-align:left;border-bottom:1px solid #e2e8f0}th{background:#f7fafc;font-weight:600;color:#2d3748;font-size:13px;text-transform:uppercase;letter-spacing:.5px}tr:hover{background:#f7fafc}.badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500;margin-right:6px;margin-bottom:4px}.badge-employee{background:#bee3f8;color:#2c5282}.badge-external{background:#fbd38d;color:#7c2d12}.badge-active{background:#c6f6d5;color:#22543d}.badge-revoked{background:#fed7d7;color:#742a2a}.badge-pending{background:#feebc8;color:#7c2d12}.badge-info{background:#e2e8f0;color:#2d3748}.checkbox-group{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.checkbox-item{display:flex;align-items:center;gap:6px}.checkbox-item input[type=checkbox]{width:auto;cursor:pointer}.checkbox-item label{cursor:pointer;margin:0;font-weight:400}.access-levels{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:15px;margin-bottom:15px}.access-level-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #f0f0f0}.access-level-item:last-child{border-bottom:none}.empty-state{text-align:center;padding:40px;color:#718096}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.stat-card h3{font-size:14px;opacity:.9;margin-bottom:8px}.stat-card .value{font-size:32px;font-weight:700}.filter-bar{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filter-bar input,.filter-bar select{padding:8px 12px;border:1px solid #cbd5e0;border-radius:6px;font-size:14px}.user-search-section{background:#fff}.user-details-card{background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:20px}.user-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.info-item{font-size:14px;color:#2d3748}.info-item strong{color:#4a5568;margin-right:5px}.user-search-nav{display:flex;gap:10px;align-items:center}.user-access-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:8px;padding:25px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e2e8f0}.modal-header h3{color:#2d3748;font-size:20px}.close-btn{background:none;border:none;font-size:32px;color:#718096;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-btn:hover{background:#f7fafc;color:#2d3748}.access-table-container{max-height:400px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:6px}.access-table-container table{margin:0}.search-container{position:relative;min-width:300px}.search-input{width:100%;padding:10px 15px;border:1px solid #cbd5e0;border-radius:6px;font-size:14px}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.suggestions-dropdown{position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:1001;max-height:300px;overflow-y:auto}.suggestion-item{padding:12px 15px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background .2s}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover{background:#f7fafc}.suggestion-name{font-weight:600;color:#2d3748;margin-bottom:3px}.suggestion-email{font-size:13px;color:#718096;margin-bottom:5px}.suggestion-more{padding:10px 15px;text-align:center;font-size:13px;color:#718096;background:#f7fafc;border-top:1px solid #e2e8f0}.login-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-box{background:#fff;border-radius:12px;padding:40px;width:100%;max-width:400px;box-shadow:0 10px 40px #0003}.login-header{text-align:center;margin-bottom:30px}.login-header h1{font-size:32px;color:#667eea;margin-bottom:5px}.login-header h2{font-size:18px;color:#2d3748;margin-bottom:10px}.login-header p{font-size:14px;color:#718096}.login-form{margin-bottom:20px}.error-message{background:#fed7d7;color:#742a2a;padding:12px;border-radius:6px;margin-bottom:20px;font-size:14px;text-align:center}.btn-block{width:100%;padding:12px;font-size:16px}.login-footer{text-align:center;padding-top:20px;border-top:1px solid #e2e8f0}header{display:flex;justify-content:space-between;align-items:center}.header-actions{display:flex;align-items:center;gap:15px}.admin-info{color:#fff;font-size:14px;opacity:.9}.admin-info strong{font-weight:600}
