.app{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.container{background:#fff;border-radius:20px;padding:3rem 2rem;box-shadow:0 20px 60px #0000004d;text-align:center;max-width:500px;width:90%}h1{font-size:2rem;color:#333;margin-bottom:1rem}.subtitle{color:#666;font-size:.9rem;margin-top:.5rem}.greeting h2,.greeting h3{color:#667eea;font-size:1.8rem;margin-bottom:1rem}.loading{color:#666;font-size:1.1rem}.error{color:#e53e3e;background:#fee;border:1px solid #fcc;padding:1rem;border-radius:8px;margin:1rem 0}.error p{margin-bottom:1rem}.error button{background:#e53e3e;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.error button:hover{background:#c53030}button{background:#667eea;color:#fff;border:none;padding:.75rem 2rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:600}button:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}button:active{transform:translateY(0)}button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.auth-container{width:100%}.auth-form{text-align:left}.auth-form h2{text-align:center;color:#333;margin-bottom:2rem;font-size:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .3s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:disabled{background:#f5f5f5;cursor:not-allowed}.auth-form button[type=submit]{width:100%;margin:1rem 0;padding:1rem;font-size:1.1rem}.auth-form p{text-align:center;margin-top:1.5rem;color:#666}.link-button{background:none;color:#667eea;border:none;padding:0;font-size:inherit;text-decoration:underline;cursor:pointer;font-weight:400}.link-button:hover{color:#5a6fd8;background:none;transform:none;box-shadow:none}.dashboard{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:800px;width:90%;overflow:hidden}.dashboard-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.dashboard-header h1{margin:0;color:#fff;font-size:2rem}.user-info{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.user-info span{font-size:.9rem;opacity:.9}.logout-button{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.5rem 1rem;font-size:.9rem;font-weight:400}.logout-button:hover{background:#ffffff4d;transform:none;box-shadow:none}.dashboard-content{padding:2rem}.greeting-section{text-align:center;margin-bottom:3rem}.features-section{text-align:left}.features-section h3{color:#333;margin-bottom:1rem}.features-section ul{list-style:none;padding:0}.features-section li{padding:.5rem 0;color:#666;font-size:1rem}@media (max-width: 600px){.container,.dashboard{margin:1rem;padding:2rem}.dashboard-header{flex-direction:column;text-align:center;gap:1rem}.user-info{align-items:center}}.dashboard-layout{min-height:100vh;background:#f8fafc}.dashboard-main{padding:0;max-width:100%;margin:0}.section-layout{display:flex;min-height:calc(100vh - 80px)}.section-content{flex:1;padding:2rem;background:#f8fafc}.sidebar-navigation{width:200px;background:#fff;box-shadow:2px 0 4px #0000001a;padding:1rem 0;min-height:calc(100vh - 80px)}.sidebar-nav-list{list-style:none;padding:0;margin:0}.sidebar-nav-list li{margin:0}.sidebar-nav-item{width:100%;background:none;border:none;padding:.75rem 1.5rem;text-align:left;cursor:pointer;transition:all .3s ease;color:#666;font-weight:500;border-left:3px solid transparent}.sidebar-nav-item:hover{background:#f1f5f9;color:#333;transform:none;box-shadow:none}.sidebar-nav-item.active{background:#e8f0fe;color:#667eea;border-left-color:#667eea;font-weight:600}.placeholder-page{max-width:800px;margin:0 auto;text-align:center;padding:3rem 2rem}.placeholder-page h1{color:#333;margin-bottom:1rem;font-size:2rem}.coming-soon{font-size:1.5rem;color:#667eea;font-weight:600;margin:2rem 0}.section-info{color:#666;font-size:1rem;margin-top:1rem}.dashboard-placeholder{max-width:800px;margin:0 auto;padding:2rem}.dashboard-message{text-align:center;margin-top:2rem;color:#666;font-size:1.1rem}.top-navigation{background:#fff;box-shadow:0 2px 4px #0000001a;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.nav-brand h2{margin:0;color:#333;font-size:1.5rem}.nav-sections{display:flex;gap:.5rem}.nav-section{background:none;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;transition:all .3s ease;color:#666;font-weight:500}.nav-section:hover{background:#f1f5f9;color:#333;transform:none;box-shadow:none}.nav-section.active{background:#667eea;color:#fff}.nav-user{display:flex;align-items:center;gap:1rem}.user-name{color:#666;font-weight:500}.home-page{max-width:1000px;margin:0 auto}.welcome-section{text-align:center;margin-bottom:3rem}.welcome-section h1{color:#333;margin-bottom:.5rem}.welcome-subtitle{color:#666;font-size:1.1rem}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.dashboard-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem}.card-header h3{margin:0;font-size:1.2rem}.card-content{padding:1.5rem}.features-list{list-style:none;padding:0;margin:0}.features-list li{padding:.5rem 0;color:#666;border-bottom:1px solid #f1f5f9}.features-list li:last-child{border-bottom:none}.quick-actions{display:flex;flex-direction:column;gap:.75rem}.action-button{padding:.75rem 1rem;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .3s ease;text-align:left}.profile-btn{background:#e0f2fe;color:#0277bd}.profile-btn:hover{background:#b3e5fc;transform:none;box-shadow:none}.password-btn{background:#fff3e0;color:#f57c00}.password-btn:hover{background:#ffe0b2;transform:none;box-shadow:none}.admin-btn{background:#fce4ec;color:#c2185b}.admin-btn:hover{background:#f8bbd9;transform:none;box-shadow:none}.role-badge{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.role-badge.user{background:#e3f2fd;color:#1976d2}.role-badge.admin{background:#fce4ec;color:#c2185b}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.status-badge.active{background:#e8f5e8;color:#2e7d32}.status-badge.inactive{background:#ffebee;color:#d32f2f}.user-profile{max-width:800px;margin:0 auto}.profile-header{text-align:center;margin-bottom:2rem}.profile-header h2{color:#333;margin-bottom:.5rem}.profile-header p{color:#666}.profile-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #f1f5f9}.tab-button{background:none;border:none;padding:1rem 1.5rem;cursor:pointer;color:#666;font-weight:500;border-bottom:2px solid transparent;transition:all .3s ease}.tab-button:hover{color:#333;background:#f8fafc;transform:none;box-shadow:none}.tab-button.active{color:#667eea;border-bottom-color:#667eea}.profile-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #0000001a}.profile-section h3{color:#333;margin-bottom:1.5rem}.user-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem;padding:1rem;background:#f8fafc;border-radius:8px}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-item strong{color:#333;font-size:.9rem}.profile-form{max-width:500px}.success{background:#e8f5e8;border:1px solid #c8e6c9;color:#2e7d32;padding:1rem;border-radius:8px;margin:1rem 0}.admin-dashboard{max-width:1200px;margin:0 auto}.admin-header{text-align:center;margin-bottom:2rem}.admin-header h2{color:#333;margin-bottom:.5rem}.admin-header p{color:#666}.users-section{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.section-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.section-header h3{margin:0}.user-stats{font-size:.9rem;opacity:.9}.users-table-container{overflow-x:auto}.users-table{width:100%;border-collapse:collapse}.users-table th,.users-table td{padding:1rem;text-align:left;border-bottom:1px solid #f1f5f9}.users-table th{background:#f8fafc;font-weight:600;color:#333}.users-table tr:hover{background:#f8fafc}.inactive-user{opacity:.6}.action-buttons{display:flex;gap:.5rem;align-items:center}.role-select{padding:.25rem .5rem;border:1px solid #e1e5e9;border-radius:4px;font-size:.8rem}.action-btn{background:none;border:1px solid #e1e5e9;padding:.25rem .5rem;border-radius:4px;cursor:pointer;font-size:.8rem;transition:all .3s ease}.action-btn:hover{transform:none;box-shadow:none}.activate-btn:hover{background:#e8f5e8;border-color:#4caf50}.deactivate-btn:hover{background:#ffebee;border-color:#f44336}.loading-small{font-size:.8rem;color:#666}.pagination{padding:1.5rem;display:flex;justify-content:center;align-items:center;gap:1rem;border-top:1px solid #f1f5f9}.pagination-btn{padding:.5rem 1rem;border:1px solid #e1e5e9;background:#fff;border-radius:6px;cursor:pointer;transition:all .3s ease}.pagination-btn:hover:not(:disabled){background:#f8fafc;transform:none;box-shadow:none}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#666;font-size:.9rem}@media (max-width: 768px){.top-navigation{flex-direction:column;text-align:center}.nav-sections{order:2;flex-wrap:wrap;justify-content:center}.nav-user{order:1;margin-bottom:1rem}.section-layout{flex-direction:column}.sidebar-navigation{width:100%;min-height:auto;box-shadow:0 2px 4px #0000001a}.sidebar-nav-list{display:flex;overflow-x:auto;padding:.5rem 0}.sidebar-nav-list li{flex-shrink:0}.sidebar-nav-item{border-left:none;border-bottom:3px solid transparent;padding:.5rem 1rem;white-space:nowrap}.sidebar-nav-item.active{border-left:none;border-bottom-color:#667eea}.section-content{padding:1rem}.dashboard-main{padding:0}.dashboard-grid{grid-template-columns:1fr}.profile-tabs{flex-direction:column}.tab-button{text-align:center}.user-details{grid-template-columns:1fr}.section-header{flex-direction:column;gap:1rem;text-align:center}.users-table{font-size:.8rem}.users-table th,.users-table td{padding:.5rem}.action-buttons{flex-direction:column}}.admin-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #f1f5f9}.admin-tab{background:none;border:none;padding:1rem 1.5rem;cursor:pointer;color:#666;font-weight:500;border-bottom:2px solid transparent;transition:all .3s ease}.admin-tab:hover{color:#333;background:#f8fafc;transform:none;box-shadow:none}.admin-tab.active{color:#667eea;border-bottom-color:#667eea}.profile-management{max-width:1200px;margin:0 auto}.management-header{text-align:center;margin-bottom:2rem}.management-header h2{color:#333;margin-bottom:.5rem}.management-header p{color:#666}.users-profiles-section{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.user-info{display:flex;flex-direction:column;gap:.25rem}.user-info strong{color:#333}.user-info small{color:#666;font-size:.8rem}.user-profiles{display:flex;flex-wrap:wrap;gap:.5rem;max-width:200px}.profile-tag{background:#e3f2fd;color:#1976d2;padding:.25rem .5rem;border-radius:12px;font-size:.8rem;display:flex;align-items:center;gap:.25rem}.remove-profile-btn{background:none;border:none;color:#d32f2f;cursor:pointer;font-size:.9rem;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .3s ease}.remove-profile-btn:hover{background:#d32f2f1a;transform:none;box-shadow:none}.no-profiles{color:#999;font-style:italic;font-size:.9rem}.manage-btn{background:#667eea;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .3s ease}.manage-btn:hover{background:#5a6fd8;transform:none;box-shadow:none}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000004d;max-width:600px;width:90%;max-height:80vh;overflow-y:auto}.modal-header{padding:1.5rem;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;color:#333}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease}.close-btn:hover{background:#f1f5f9;color:#333;transform:none;box-shadow:none}.modal-body{padding:1.5rem}.current-profiles,.available-profiles{margin-bottom:2rem}.current-profiles h4,.available-profiles h4{color:#333;margin-bottom:1rem;font-size:1.1rem}.profile-list{display:flex;flex-direction:column;gap:1rem}.profile-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border:1px solid #e1e5e9;border-radius:8px;background:#f8fafc}.profile-item div{flex:1}.profile-item strong{color:#333;display:block;margin-bottom:.25rem}.profile-item p{color:#666;font-size:.9rem;margin:0}.assign-btn,.remove-btn{padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .3s ease;min-width:80px}.assign-btn{background:#4caf50;color:#fff}.assign-btn:hover{background:#45a049;transform:none;box-shadow:none}.remove-btn{background:#f44336;color:#fff}.remove-btn:hover{background:#da190b;transform:none;box-shadow:none}.assign-btn:disabled,.remove-btn:disabled{opacity:.6;cursor:not-allowed}.users-table .profile-tag{margin:.1rem}@media (max-width: 768px){.modal-content{width:95%;margin:1rem}.modal-header,.modal-body{padding:1rem}.profile-item{flex-direction:column;align-items:flex-start;gap:1rem}.assign-btn,.remove-btn{width:100%}.user-profiles{max-width:none}}.security-info{display:flex;flex-direction:column;gap:1.5rem}.info-card{background:#f8fafc;border:1px solid #e1e5e9;border-radius:8px;padding:1.5rem}.info-card h4{color:#333;margin:0 0 1rem;font-size:1.1rem}.info-card p{color:#666;margin:.5rem 0}.user-profiles-info{margin-top:1rem}.profile-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.logout-card{border-color:#fecaca;background:#fef2f2}.logout-actions{margin-top:1rem}.logout-btn-primary{background:#dc2626;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:600;margin-bottom:1rem;display:block}.logout-btn-primary:hover{background:#b91c1c;transform:none;box-shadow:0 4px 8px #dc26264d}.logout-note{font-size:.9rem;color:#666;font-style:italic;margin:0}.security-tips{margin:0;padding-left:1.2rem}.security-tips li{color:#666;margin:.5rem 0;line-height:1.4}.logout-button{background:#dc2626!important;color:#fff!important;border:1px solid #dc2626!important;transition:all .3s ease!important}.logout-button:hover{background:#b91c1c!important;border-color:#b91c1c!important;transform:none!important;box-shadow:0 2px 4px #dc26264d!important}@media (max-width: 768px){.security-info{gap:1rem}.info-card{padding:1rem}.logout-btn-primary{width:100%}}*{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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
