.navigation-menu{display:flex;flex-direction:column;width:280px;height:100%;background:linear-gradient(180deg,#fff,#f9fafb);border-right:1px solid #e5e7eb;padding:24px 16px;gap:24px;box-shadow:2px 0 8px #0000000a;transition:width .2s ease,padding .2s ease}.navigation-menu.collapsed{width:80px;padding:20px 12px}.menu-header{display:flex;align-items:center;justify-content:space-between}.collapse-toggle{width:32px;height:32px;display:grid;place-items:center;background:none;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;color:#6b7280;transition:all .2s ease-in-out}.collapse-toggle:hover{background:#f3f4f6;color:#374151}.nav-logo{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #f3f4f6}.navigation-menu.collapsed .nav-logo{border-bottom:none;justify-content:center;padding-bottom:0}.logo-image{width:40px;height:40px;object-fit:contain}.logo-text{display:flex;flex-direction:column}.navigation-menu.collapsed .logo-text{display:none}.logo-title{font-size:14px;font-weight:700;color:#1f2937;line-height:1.2}.logo-subtitle{font-size:11px;color:#9ca3af;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.nav-items{display:flex;flex-direction:column;gap:8px;flex:1;overflow-y:auto;padding-right:4px}.nav-footer{margin-top:12px;padding-top:10px;border-top:1px solid #f3f4f6;display:flex;flex-direction:column;gap:4px;font-size:10px;color:#9ca3af;align-items:center;text-align:center}.nav-footer-text{font-size:12px}.nav-footer-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.nav-footer-link{background:none;border:none;padding:0;color:#f97316;text-align:left;cursor:pointer;font-size:10px;line-height:1.4}.nav-footer-link:hover{color:#f97316;text-decoration:underline}.nav-footer-link.active{color:#d97706;font-weight:500}.nav-footer-separator{font-size:10px;color:#9ca3af}.navigation-menu.collapsed .nav-footer{display:none}.navigation-menu.collapsed .nav-items{align-items:center;padding-right:0}.nav-items::-webkit-scrollbar{width:5px}.nav-items::-webkit-scrollbar-track{background:transparent}.nav-items::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.nav-items::-webkit-scrollbar-thumb:hover{background:#9ca3af}.nav-button{display:flex;align-items:center;gap:12px;padding:12px 14px;background:none;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;color:#6b7280;transition:all .2s ease-in-out;text-decoration:none}.navigation-menu.collapsed .nav-button{justify-content:center;padding:12px 10px;width:100%}.nav-button:hover{background:#f3f4f6;color:#374151}.nav-button.active{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706;border-left:3px solid #f97316;padding-left:11px}.navigation-menu.collapsed .nav-button.active{border-left:none;padding-left:12px}.nav-label{white-space:nowrap}.navigation-menu.collapsed .nav-label{display:none}.nav-button svg{flex-shrink:0}.nav-user-section{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid #f3f4f6}.navigation-menu.collapsed .nav-user-section{border-top:none;padding-top:0}.user-dropdown-wrapper{position:relative}.user-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:none;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease-in-out}.navigation-menu.collapsed .user-button{justify-content:center;padding:10px}.user-avatar{width:32px;height:32px;border-radius:50%;background:#111827;color:#f9fafb;display:grid;place-items:center;font-weight:700;letter-spacing:.5px}.user-button:hover{background:#f9fafb;border-color:#d1d5db}.user-info{display:flex;flex-direction:column;align-items:flex-start;text-align:left;flex:1;min-width:0}.user-name{font-size:13px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:11px;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-arrow{flex-shrink:0;transition:transform .2s ease-in-out;color:#6b7280}.dropdown-arrow.open{transform:rotate(180deg)}.navigation-menu.collapsed .dropdown-arrow{display:none}.dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;left:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 25px #0000001a,0 4px 10px #0000000d;z-index:1000;min-width:180px;overflow:hidden;animation:slideDown .15s ease-out}.navigation-menu.collapsed .dropdown-menu{left:auto;min-width:220px}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{width:100%;padding:12px 14px;background:none;border:none;cursor:pointer;font-size:13px;font-weight:500;color:#374151;text-align:left;transition:all .15s ease-in-out;display:flex;align-items:center;gap:8px}.dropdown-item:hover{background:#f9fafb;padding-left:16px}.dropdown-item.logout{color:#dc2626;border-top:1px solid #f3f4f6}.dropdown-item.logout:hover{background:#fef2f2}@media (max-width: 768px){.navigation-menu{width:240px;padding:16px 12px}.navigation-menu.collapsed{width:72px}.nav-button{padding:10px 12px;font-size:13px}.nav-logo{padding-bottom:12px}.logo-icon{width:36px;height:36px;font-size:24px}.logo-title{font-size:13px}.logo-subtitle{font-size:10px}}.navigation-menu.dark{background:linear-gradient(180deg,#1e293b,#0f172a);border-right:1px solid #334155;box-shadow:2px 0 8px #0000004d}.navigation-menu.dark .collapse-toggle{border-color:#475569;color:#94a3b8}.navigation-menu.dark .collapse-toggle:hover{background:#334155;color:#e2e8f0}.navigation-menu.dark .nav-logo{border-bottom:1px solid #334155}.navigation-menu.dark .logo-title{color:#f1f5f9}.navigation-menu.dark .logo-subtitle{color:#64748b}.navigation-menu.dark .nav-items::-webkit-scrollbar-thumb{background:#475569}.navigation-menu.dark .nav-items::-webkit-scrollbar-thumb:hover{background:#64748b}.navigation-menu.dark .nav-button{color:#94a3b8}.navigation-menu.dark .nav-button:hover{background:#334155;color:#e2e8f0}.navigation-menu.dark .nav-button.active{background:linear-gradient(135deg,#422006,#713f12);color:#fcd34d;border-left:3px solid #F97316}.navigation-menu.dark .nav-user-section{border-top:1px solid #334155}.navigation-menu.dark .user-button{border-color:#475569}.navigation-menu.dark .user-button:hover{background:#334155;border-color:#64748b}.navigation-menu.dark .user-avatar{background:#f97316;color:#fff}.navigation-menu.dark .user-name{color:#f1f5f9}.navigation-menu.dark .user-email{color:#64748b}.navigation-menu.dark .dropdown-arrow{color:#94a3b8}.navigation-menu.dark .dropdown-menu{background:#1e293b;border-color:#475569;box-shadow:0 10px 25px #00000080,0 4px 10px #0000004d}.navigation-menu.dark .dropdown-item{color:#e2e8f0}.navigation-menu.dark .dropdown-item:hover{background:#334155}.navigation-menu.dark .dropdown-item.logout{color:#f87171;border-top:1px solid #334155}.navigation-menu.dark .dropdown-item.logout:hover{background:#450a0a}.navigation-menu.dark .nav-footer{border-top-color:#334155;color:#64748b}.navigation-menu.dark .nav-footer-link,.navigation-menu.dark .nav-footer-link:hover{color:#f97316}.navigation-menu.dark .nav-footer-link.active{color:#fcd34d}.navigation-menu.dark .nav-footer-separator{color:#64748b}.create-group-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease-out;transition:background .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark{background:#0f172ab3}.create-group-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #00000026,0 4px 12px #00000014;width:90%;max-width:500px;animation:slideUp .2s ease-out;max-height:90vh;overflow-y:auto;transition:background .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .create-group-modal{background:#1e293b;box-shadow:0 20px 60px #00000080,0 4px 12px #0000004d}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e5e7eb;background:#fff;transition:border-color .4s cubic-bezier(.4,0,.2,1),background .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .modal-header{border-bottom-color:#334155;background:#1e293b}.modal-header h2{margin:0;font-size:18px;font-weight:700;color:#111827;transition:color .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .modal-header h2{color:#f1f5f9}.modal-close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#6b7280;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease-in-out}.modal-close-btn:hover:not(:disabled){background:#0000000d;color:#1f2937}.create-group-modal-overlay.dark .modal-close-btn{color:#94a3b8}.create-group-modal-overlay.dark .modal-close-btn:hover:not(:disabled){background:#ffffff1a;color:#f1f5f9}.modal-close-btn:disabled{opacity:.5;cursor:not-allowed}.create-group-form{padding:24px;display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:13px;font-weight:600;color:#374151;transition:color .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .form-group label{color:#e2e8f0}.form-group input,.form-group textarea{padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:13px;color:#1f2937;background:#fff;transition:all .2s ease-in-out}.create-group-modal-overlay.dark .form-group input,.create-group-modal-overlay.dark .form-group textarea{background:#0f172a;border-color:#475569;color:#f1f5f9}.create-group-modal-overlay.dark .form-group input::placeholder,.create-group-modal-overlay.dark .form-group textarea::placeholder{color:#64748b}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#f97316;background-color:#fffbf7;box-shadow:0 0 0 3px #f973161a}.create-group-modal-overlay.dark .form-group input:focus,.create-group-modal-overlay.dark .form-group textarea:focus{background-color:#1e293b;border-color:#f97316}.form-group input:disabled,.form-group textarea:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed}.form-group textarea{resize:vertical;font-family:inherit;line-height:1.4}.char-count{font-size:11px;color:#9ca3af;text-align:right;transition:color .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .char-count{color:#64748b}.error-message{display:flex;align-items:flex-start;gap:8px;padding:12px;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-size:13px;line-height:1.4;transition:all .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .error-message{background:#7f1d1d;border-color:#991b1b;color:#fecaca}.error-message svg{flex-shrink:0;margin-top:2px}.modal-actions{display:flex;gap:12px;padding-top:12px;border-top:1px solid #f3f4f6;transition:border-color .4s cubic-bezier(.4,0,.2,1)}.create-group-modal-overlay.dark .modal-actions{border-top-color:#334155}.btn{padding:10px 16px;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease-in-out;flex:1}.btn-primary{background:linear-gradient(135deg,#f97316,#fb923c);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#ea580c,#f97316);box-shadow:0 4px 12px #f973164d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.create-group-modal-overlay.dark .btn-secondary{background:#334155;color:#e2e8f0;border-color:#475569}.create-group-modal-overlay.dark .btn-secondary:hover:not(:disabled){background:#475569}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 640px){.create-group-modal{width:95%;max-width:none}.modal-header,.create-group-form{padding:18px}.btn{padding:10px 12px;font-size:12px}}.app-layout{display:flex;flex-direction:column;height:100vh;width:100%;background:#f9fafb}.app-layout.dark{background:#0f172a}.layout-content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.top-bar{position:sticky;top:0;z-index:1100;display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 20px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 6px #0000000a}.topbar-left{display:flex;align-items:center;gap:16px}.topbar-brand{display:flex;align-items:center;gap:12px;cursor:pointer}.topbar-logo{width:190px;height:auto;object-fit:contain}.dark .topbar-logo{filter:drop-shadow(0 0 0px rgba(255,255,255,1.5)) drop-shadow(0 0 0px rgba(255,255,255,2)) brightness(1.2) contrast(.7)}.topbar-text{display:flex;flex-direction:column;line-height:1.2}.topbar-title{font-size:15px;font-weight:700;color:#111827}.topbar-subtitle{font-size:11px;color:#6b7280;letter-spacing:.4px;text-transform:uppercase}.topbar-actions{position:relative;display:flex;align-items:center;gap:12px}.topbar-notification-wrap,.topbar-user-wrapper{position:relative}.topbar-bell{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb;color:#6b7280;cursor:pointer;transition:all .2s ease;position:relative}.topbar-bell:hover{background:#f3f4f6;border-color:#d1d5db;color:#111827}.topbar-bell-badge{position:absolute;top:4px;right:4px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;color:#fff;background:#dc2626;border-radius:9px;display:flex;align-items:center;justify-content:center}.topbar-notifications-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:500px;max-width:calc(100vw - 10px);max-height:450px;overflow:hidden;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 12px 30px #0000001f,0 6px 12px #0000000d;z-index:1200;display:flex;flex-direction:column}.topbar-notifications-header{padding:12px 14px;font-size:14px;font-weight:700;color:#111827;border-bottom:1px solid #e5e7eb;flex-shrink:0}.topbar-notifications-loading,.topbar-notifications-empty{padding:24px 14px;font-size:13px;color:#6b7280;text-align:center}.topbar-notifications-list{list-style:none;margin:0;padding:8px 0;overflow-y:auto;flex:1;min-height:80px}.topbar-notification-item{padding:10px 14px;border-bottom:1px solid #f3f4f6;transition:background .15s ease}.topbar-notification-item:hover{background:#f9fafb}.topbar-notification-item:last-child{border-bottom:none}.topbar-notification-unread{background:#eff6ff}.topbar-notification-subject{font-size:13px;font-weight:600;color:#111827;margin-bottom:4px}.topbar-notification-message{font-size:12px;color:#6b7280;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.topbar-notification-time{font-size:11px;color:#9ca3af;margin-top:4px}.topbar-user{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;background:#f9fafb;transition:all .2s ease}.topbar-user:hover{background:#f3f4f6;border-color:#d1d5db}.topbar-avatar{width:36px;height:36px;border-radius:50%;background:#111827;color:#f9fafb;display:grid;place-items:center;font-weight:700;letter-spacing:.5px}.topbar-avatar-image{width:36px;height:36px;border-radius:50%;object-fit:cover;display:block}.topbar-userinfo{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.topbar-name{font-size:14px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-email{font-size:11px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-dropdown-arrow{color:#6b7280;transition:transform .2s ease}.topbar-dropdown-arrow.open{transform:rotate(180deg)}.topbar-dropdown{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 12px 30px #0000001f,0 6px 12px #0000000d;padding:8px 0;z-index:1200}.topbar-dropdown-item{width:100%;padding:10px 14px;background:none;border:none;text-align:left;font-size:13px;font-weight:500;color:#111827;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;gap:8px}.topbar-dropdown-item svg{flex-shrink:0;color:#6b7280}.topbar-dropdown-item:hover{background:#f9fafb;padding-left:16px}.topbar-dropdown-item:hover svg{color:#111827}.topbar-dropdown-item.danger{color:#dc2626}.topbar-dropdown-item.danger:hover{background:#fef2f2}.topbar-divider{margin:8px 0;border:none;border-top:1px solid #f3f4f6}@media (max-width: 768px){.top-bar{padding:0 12px;height:64px}.topbar-logo{width:36px;height:36px}.topbar-title{font-size:14px}.topbar-subtitle{font-size:10px}.topbar-user{padding:8px 10px}.topbar-avatar{width:32px;height:32px}.topbar-bell{width:40px;height:40px}.topbar-notifications-dropdown{width:320px}}.top-bar.dark{background:#1e293b;border-bottom:1px solid #334155;box-shadow:0 2px 6px #0000004d}.top-bar.dark .topbar-title{color:#f1f5f9}.top-bar.dark .topbar-subtitle{color:#64748b}.top-bar.dark .topbar-bell{border-color:#475569;background:#334155;color:#94a3b8}.top-bar.dark .topbar-bell:hover{background:#475569;border-color:#64748b;color:#e2e8f0}.top-bar.dark .topbar-notifications-dropdown{background:#1e293b;border-color:#475569;box-shadow:0 12px 30px #00000080,0 6px 12px #0000004d}.top-bar.dark .topbar-notifications-header{color:#f1f5f9;border-bottom:1px solid #334155}.top-bar.dark .topbar-notifications-loading,.top-bar.dark .topbar-notifications-empty{color:#94a3b8}.top-bar.dark .topbar-notification-item{border-bottom:1px solid #334155}.top-bar.dark .topbar-notification-item:hover{background:#334155}.top-bar.dark .topbar-notification-unread{background:#1e3a5f}.top-bar.dark .topbar-notification-subject{color:#f1f5f9}.top-bar.dark .topbar-notification-message{color:#94a3b8}.top-bar.dark .topbar-notification-time{color:#64748b}.top-bar.dark .topbar-user{border-color:#475569;background:#334155}.top-bar.dark .topbar-user:hover{background:#475569;border-color:#64748b}.top-bar.dark .topbar-avatar{background:#f97316;color:#fff}.top-bar.dark .topbar-name{color:#f1f5f9}.top-bar.dark .topbar-email,.top-bar.dark .topbar-dropdown-arrow{color:#94a3b8}.top-bar.dark .topbar-dropdown{background:#1e293b;border-color:#475569;box-shadow:0 12px 30px #00000080,0 6px 12px #0000004d}.top-bar.dark .topbar-dropdown-item{color:#e2e8f0}.top-bar.dark .topbar-dropdown-item svg{color:#94a3b8}.top-bar.dark .topbar-dropdown-item:hover{background:#334155}.top-bar.dark .topbar-dropdown-item:hover svg{color:#e2e8f0}.top-bar.dark .topbar-dropdown-item.danger{color:#f87171}.top-bar.dark .topbar-dropdown-item.danger:hover{background:#450a0a}.top-bar.dark .topbar-divider{border-top:1px solid #334155}.profile-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1300;animation:fadeIn .2s ease}.profile-modal-overlay.dark{background:#0f172ab3}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.profile-modal-content{border-radius:16px;box-shadow:0 20px 60px #0003;width:90%;max-width:500px;max-height:90vh;overflow:hidden;animation:slideUp .3s ease;position:relative;background:#fff;transition:background .4s cubic-bezier(.4,0,.2,1)}.profile-modal-overlay.dark .profile-modal-content{background:#1e293b;box-shadow:0 20px 60px #0006}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.profile-modal-close{position:absolute;top:20px;right:20px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid #e5e7eb;color:#6b7280;cursor:pointer;transition:all .2s ease;z-index:10;box-shadow:0 2px 8px #0000001a;background:transparent}.profile-modal-overlay.dark .profile-modal-close{border-color:#475569;color:#94a3b8}.profile-modal-close:hover{background:#f3f4f6;color:#111827;border-color:#d1d5db}.profile-modal-overlay.dark .profile-modal-close:hover{background:#334155;color:#f1f5f9;border-color:#475569}.profile-modal-close svg{width:20px;height:20px}.profile-modal-body{padding:60px 40px 40px;max-height:calc(90vh - 80px);overflow-y:auto}.profile-edit-section{display:flex;flex-direction:column;align-items:center;gap:32px}.profile-modal-title{font-size:24px;font-weight:700;color:#000;margin:0;text-align:center;transition:color .4s cubic-bezier(.4,0,.2,1)}.profile-modal-overlay.dark .profile-modal-title{color:#f1f5f9}.profile-modal-error{width:100%;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px;text-align:center}.profile-image-container{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;border:2px solid #f97316;border-radius:14px}.profile-image-label{position:relative;display:block;cursor:pointer;border-radius:12px;overflow:hidden}.profile-image-display{position:relative;display:block;border-radius:12px;overflow:hidden;cursor:default}.profile-display-image,.profile-display-placeholder{width:160px;height:160px;border-radius:12px;object-fit:cover;border:4px solid #f97316;box-shadow:0 4px 12px #f9731633;display:block;transition:all .2s ease;color:#000}.profile-display-placeholder{background:#fef7f4;color:#000;display:flex;align-items:center;justify-content:center;font-size:56px;font-weight:700}.profile-image-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease;border-radius:8px}.profile-image-overlay svg{color:#fff;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.profile-image-label:hover .profile-image-overlay{opacity:1}.profile-image-label:hover .profile-display-image,.profile-image-label:hover .profile-display-placeholder{transform:scale(1.02)}.profile-image-display .profile-display-image,.profile-image-display .profile-display-placeholder{transition:none}.profile-image-input{display:none}.profile-form-fields{width:100%;display:flex;flex-direction:column;gap:20px}.profile-form-group{display:flex;flex-direction:row;align-items:center;gap:16px}.profile-form-group.profile-form-group-vertical{flex-direction:column;align-items:stretch;gap:8px}.profile-form-group.profile-form-group-vertical label{min-width:unset}.profile-form-group label{font-size:14px;font-weight:600;color:#374151;min-width:100px;flex-shrink:0;transition:color .4s cubic-bezier(.4,0,.2,1)}.profile-modal-overlay.dark .profile-form-group label{color:#e2e8f0}.profile-form-input-wrap{display:flex;flex-direction:column;gap:4px;width:100%}.profile-form-field-error{font-size:13px;color:#dc2626;margin-top:2px}.profile-form-input{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;color:#111827;background:#fff;transition:all .2s ease}.profile-modal-overlay.dark .profile-form-input{background:#0f172a;border-color:#475569;color:#f1f5f9}.profile-form-input.profile-form-input-error{border-color:#dc2626}.profile-form-input.profile-form-input-error:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.profile-form-input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px #f973161a}.profile-form-input::placeholder{color:#9ca3af}.profile-modal-overlay.dark .profile-form-input::placeholder{color:#64748b}.profile-modal-actions{width:100%;display:flex;gap:12px;margin-top:8px;justify-content:flex-end;margin-left:auto}.profile-action-btn{padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;width:auto}.profile-action-btn.cancel{background:#fff;color:#6b7280;border:2px solid #e5e7eb}.profile-modal-overlay.dark .profile-action-btn.cancel{background:#0f172a;color:#94a3b8;border:2px solid #475569}.profile-action-btn.cancel:hover:not(:disabled){background:#f9fafb;color:#374151;border-color:#d1d5db}.profile-modal-overlay.dark .profile-action-btn.cancel:hover:not(:disabled){background:#253449;color:#f1f5f9;border-color:#475569}.profile-action-btn.save{background:#f97316;color:#fff;border:none}.profile-action-btn.save:hover:not(:disabled){background:#ea580c;transform:translateY(-1px);box-shadow:0 4px 12px #f973164d}.profile-action-btn:disabled{opacity:.6;cursor:not-allowed}.profile-action-btn.save:disabled,.profile-action-btn.save.save-disabled{background:#9ca3af;color:#fff;opacity:.6;cursor:not-allowed}.profile-action-btn.save:disabled:hover,.profile-action-btn.save.save-disabled:hover{background:#9ca3af;transform:none;box-shadow:none}@media (max-width: 768px){.profile-modal-content{width:95%;max-width:95%}.profile-modal-body{padding:50px 24px 32px}.profile-display-image,.profile-display-placeholder{width:140px;height:140px}.profile-display-placeholder{font-size:48px}.profile-modal-title{font-size:20px}}.analytics-container{padding:24px 24px 10px;width:100%;box-sizing:border-box;overflow-x:hidden}.favorites-page{display:flex;flex-direction:column;height:100%;padding:24px;overflow:auto;gap:16px}.select-all-bar{margin-bottom:16px;padding:12px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;align-items:center;gap:8px;transition:background .4s cubic-bezier(.4,0,.2,1),border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .select-all-bar{background:#1e293b;border-color:#334155}.select-all-bar-checkbox{width:18px;height:18px;cursor:pointer}.select-all-bar-text{font-size:14px;font-weight:500;color:#374151;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .select-all-bar-text{color:#e2e8f0}.clear-selection-btn{padding:8px 16px;background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.favorites-page.dark .clear-selection-btn{background:#334155;color:#e2e8f0;border-color:#475569}.clear-selection-btn:hover{opacity:.9}.favorites-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.favorites-header h1{margin:0;font-size:22px;color:#111827;font-weight:700;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorites-header h1{color:#f1f5f9}.add-favorite-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:linear-gradient(135deg,#f97316,#f59e0b);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 8px 18px #f9731640;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1)}.add-favorite-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px #f973164d}.favorites-subtitle{margin:4px 0 0;color:#6b7280;font-size:14px;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorites-subtitle{color:#94a3b8}.favorites-search{display:flex;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;background:#f9fafb;transition:background .2s cubic-bezier(.4,0,.2,1),border-color .2s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorites-search{background:#1e293b;border-color:#475569}.favorites-search input{border:none;background:transparent;flex:1;font-size:14px;outline:none;color:#111827;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorites-search input{color:#f1f5f9}.favorites-page.dark .favorites-search input::placeholder{color:#64748b}.favorites-label{font-size:12px;color:#6b7280;margin-bottom:6px;display:block;font-weight:500;transition:color .3s ease}.favorites-page.dark .favorites-label{color:#94a3b8}.favorites-select{padding:10px 36px 10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:14px;color:#111827;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;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='M3 4.5L6 7.5L9 4.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;min-width:160px;box-shadow:0 1px 2px #0000000d;transition:background .2s ease,border-color .2s ease,color .2s ease}.favorites-page.dark .favorites-select{background-color:#1e293b;border-color:#475569;color:#e2e8f0;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='M3 4.5L6 7.5L9 4.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.favorites-select:hover{border-color:#d1d5db}.favorites-page.dark .favorites-select:hover{border-color:#64748b}.favorites-select option{background:#fff;color:#111827;padding:8px}.favorites-page.dark .favorites-select option{background:#1e293b;color:#e2e8f0}.favorites-sort-btn{padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease,border-color .2s ease}.favorites-page.dark .favorites-sort-btn{background:#1e293b;border-color:#475569}.favorites-sort-btn:hover{background:#f3f4f6;border-color:#d1d5db}.favorites-page.dark .favorites-sort-btn:hover{background:#334155;border-color:#64748b}.favorites-sort-btn svg{transition:stroke .3s ease}.favorites-page.dark .favorites-sort-btn svg{stroke:#e2e8f0}.favorites-search svg{transition:stroke .3s ease}.favorites-page.dark .favorites-search svg{stroke:#94a3b8}.favorites-error{padding:10px 12px;border:1px solid #fca5a5;background:#fef2f2;color:#b91c1c;border-radius:8px;font-size:13px;transition:background .4s cubic-bezier(.4,0,.2,1),border-color .4s cubic-bezier(.4,0,.2,1),color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorites-error{background:#7f1d1d;border-color:#991b1b;color:#fca5a5}.favorites-list{display:flex;flex-direction:column;gap:12px}.favorite-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff;box-shadow:0 8px 20px #00000008;transition:background .2s cubic-bezier(.4,0,.2,1),border-color .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1)}.favorite-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #0000000f}.favorites-page.dark .favorite-card{background:#1e293b;border-color:#334155;box-shadow:0 8px 20px #0000004d}.favorites-page.dark .favorite-card:hover{box-shadow:0 12px 24px #00000080}.favorite-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.favorite-card-title{display:flex;flex-direction:column;gap:4px}.favorite-name{font-size:16px;font-weight:600;color:#111827;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-name{color:#f1f5f9}.favorite-date{font-size:12px;color:#6b7280;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-date{color:#94a3b8}.favorite-actions{display:flex;align-items:center;gap:8px}.use-prompt-btn,.edit-favorite-btn,.remove-favorite-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7eb;background:#f9fafb;color:#111827;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;transition:background .2s cubic-bezier(.4,0,.2,1),border-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .use-prompt-btn,.favorites-page.dark .edit-favorite-btn,.favorites-page.dark .remove-favorite-btn{background:#0f172a;border-color:#475569;color:#e2e8f0}.use-prompt-btn:hover,.edit-favorite-btn:hover,.remove-favorite-btn:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.favorites-page.dark .use-prompt-btn:hover,.favorites-page.dark .edit-favorite-btn:hover,.favorites-page.dark .remove-favorite-btn:hover{background:#334155;border-color:#64748b}.edit-favorite-btn{color:#7c3aed;border-color:#e9d5ff;background:#faf5ff}.edit-favorite-btn:hover{background:#f3e8ff;border-color:#d8b4fe}.remove-favorite-btn{padding:8px}.favorite-content{display:flex;flex-direction:column;gap:10px}.favorite-block .label{font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#6b7280;display:block;margin-bottom:4px;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-block .label{color:#94a3b8}.favorite-block p{margin:0;color:#111827;line-height:1.5;white-space:pre-wrap;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-block p{color:#e2e8f0}.no-favorites{border:1px dashed #d1d5db;border-radius:12px;padding:32px 16px;text-align:center;color:#6b7280;display:flex;flex-direction:column;gap:8px;align-items:center;background:#f9fafb;transition:background .4s cubic-bezier(.4,0,.2,1),border-color .4s cubic-bezier(.4,0,.2,1),color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .no-favorites{background:#1e293b;border-color:#475569;color:#94a3b8}.no-favorites h3{margin:0;color:#111827;font-size:16px;font-weight:600;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .no-favorites h3{color:#f1f5f9}.no-favorites p{margin:0;font-size:14px;color:#6b7280;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .no-favorites p{color:#94a3b8}.favorite-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182759;display:flex;align-items:center;justify-content:center;z-index:1300;padding:16px;transition:background .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-modal-backdrop{background:#0f172ab3}.favorite-modal{width:min(640px,100%);background:#fff;border-radius:14px;box-shadow:0 16px 40px #0000002e;display:flex;flex-direction:column;overflow:hidden;transition:background .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-modal{background:#1e293b;box-shadow:0 16px 40px #00000080}.favorite-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e5e7eb;transition:border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-modal-header{border-bottom-color:#334155}.favorite-modal-header h3{margin:0;font-size:18px;font-weight:700;color:#111827;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-modal-header h3,.profile-modal-overlay.dark .favorite-modal-header h3{color:#f1f5f9}.modal-close{background:none;border:none;font-size:18px;cursor:pointer;color:#6b7280;padding:4px;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .modal-close{color:#94a3b8}.favorite-modal-body{display:flex;flex-direction:column;gap:10px;padding:16px 18px}.field-label{font-size:13px;color:#374151;font-weight:600;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .field-label{color:#e2e8f0}.favorite-modal-body input,.favorite-modal-body textarea{border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;font-size:14px;color:#111827;background:#f9fafb;outline:none;transition:all .15s ease}.favorites-page.dark .favorite-modal-body input,.favorites-page.dark .favorite-modal-body textarea{background:#0f172a;border-color:#475569;color:#f1f5f9}.favorites-page.dark .favorite-modal-body input::placeholder,.favorites-page.dark .favorite-modal-body textarea::placeholder{color:#64748b}.favorite-modal-body input:focus,.favorite-modal-body textarea:focus{border-color:#f97316;background:#fff}.favorites-page.dark .favorite-modal-body input:focus,.favorites-page.dark .favorite-modal-body textarea:focus{border-color:#f97316;background:#1e293b}.favorite-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px 16px;border-top:1px solid #e5e7eb;transition:border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .favorite-modal-footer{border-top-color:#334155}.secondary-btn,.primary-btn{padding:10px 14px;border-radius:10px;border:1px solid #e5e7eb;background:#f9fafb;cursor:pointer;font-weight:600;font-size:14px;transition:all .15s ease}.favorites-page.dark .secondary-btn{background:#334155;border-color:#475569;color:#e2e8f0}.primary-btn{background:linear-gradient(135deg,#f97316,#f59e0b);color:#fff;border:none;box-shadow:0 8px 18px #f9731640}.secondary-btn:hover{background:#f3f4f6}.favorites-page.dark .secondary-btn:hover{background:#475569}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px #f973164d}.primary-btn:disabled,.secondary-btn:disabled{opacity:.7;cursor:not-allowed}@media (max-width: 768px){.favorites-page{padding:16px}.favorite-card{padding:14px}.favorite-card-header{flex-direction:column;align-items:flex-start}.favorite-actions{width:100%}}.delete-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;transition:background .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-backdrop{background:#0f172ab3}.delete-confirmation-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;width:90%;max-width:500px;overflow:hidden;transition:background .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-confirmation-modal{background:#1e293b;box-shadow:0 20px 25px -5px #00000080}.delete-modal-header{padding:24px 24px 16px;border-bottom:1px solid #e5e7eb;transition:border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-header{border-bottom-color:#334155}.delete-modal-title{margin:0;font-size:18px;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-question{color:#94a3b8}.delete-modal-prompt-preview{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px 14px;font-size:14px;color:#374151;word-break:break-word;line-height:1.5;max-height:100px;overflow-y:auto;transition:background .4s cubic-bezier(.4,0,.2,1),border-color .4s cubic-bezier(.4,0,.2,1),color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-prompt-preview{background:#0f172a;border-color:#475569;color:#e2e8f0}.delete-modal-warning{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;transition:background .4s cubic-bezier(.4,0,.2,1),border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-warning{background:#7f1d1d;border-color:#991b1b}.delete-modal-warning svg{flex-shrink:0;stroke:#dc2626;margin-top:2px;transition:stroke .4s cubic-bezier(.4,0,.2,1)}.delete-modal-warning span{font-size:14px;color:#dc2626;font-weight:500;transition:color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-warning span{color:#fca5a5}.delete-modal-footer{padding:16px 24px;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #e5e7eb;transition:border-color .4s cubic-bezier(.4,0,.2,1)}.favorites-page.dark .delete-modal-footer{border-top-color:#334155}.delete-modal-warning svg{flex-shrink:0;stroke:#dc2626;margin-top:2px}.favorites-page.dark .delete-modal-warning svg{stroke:#fca5a5}.delete-modal-warning span{font-size:14px;color:#dc2626;font-weight:500}.delete-modal-footer{padding:16px 24px;display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #e5e7eb}.delete-modal-cancel-btn,.delete-modal-delete-btn{padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:all .15s ease}.delete-modal-cancel-btn{background:#f3f4f6;color:#374151}.favorites-page.dark .delete-modal-cancel-btn{background:#334155;color:#e2e8f0}.delete-modal-cancel-btn:hover:not(:disabled){background:#e5e7eb}.favorites-page.dark .delete-modal-cancel-btn:hover:not(:disabled){background:#475569}.delete-modal-delete-btn{background:#dc2626;color:#fff;box-shadow:0 4px 6px #dc262640}.delete-modal-delete-btn:hover:not(:disabled){background:#b91c1c;box-shadow:0 6px 12px #dc262659;transform:translateY(-1px)}.delete-modal-cancel-btn:disabled,.delete-modal-delete-btn:disabled{opacity:.7;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay.dark{background:#0f172ab3}.change-password-modal{background:#fff;border-radius:8px;padding:2rem;min-width:350px;max-width:90vw;box-shadow:0 2px 16px #00000026;position:relative;color:#222}.change-password-modal.dark{background:#1a2233;color:#f3f6fa}.change-password-modal label{display:block;margin-top:1rem;margin-bottom:.5rem;font-weight:500;font-size:.95rem}.change-password-modal .MuiTextField-root{margin-bottom:0}.change-password-modal input[type=password]:not(.MuiInputBase-input),.change-password-modal input[type=text]:not(.MuiInputBase-input){width:100%;padding:.875rem 1rem;border:1px solid #ccc;border-radius:6px;margin-bottom:.5rem;background:#fff;color:#222;font-size:1rem;line-height:1.5}.change-password-modal input[type=password]::-ms-reveal,.change-password-modal input[type=password]::-ms-clear{display:none}.change-password-modal input[type=password]::-webkit-credentials-auto-fill-button,.change-password-modal input[type=password]::-webkit-contacts-auto-fill-button{visibility:hidden;display:none!important;pointer-events:none;height:0;width:0;margin:0}.change-password-modal.dark input[type=password]:not(.MuiInputBase-input),.change-password-modal.dark input[type=text]:not(.MuiInputBase-input){background:#232b3b;color:#f3f6fa;border:1px solid #444b5a;font-size:1rem}.input-error{border:1.5px solid #b71c1c!important}.field-error{color:#b71c1c;font-size:.875rem;margin-bottom:.5rem;margin-top:-.3rem}.password-violations{color:#b71c1c;margin:.5rem 0 1rem;font-size:.9rem}.password-policy-info{background:#e3f2fd;color:#1565c0;padding:1rem;border-radius:6px;margin:.5rem 0 1rem;border-left:4px solid #1976D2;font-size:.9rem}.password-policy-info strong{display:block;margin-bottom:.5rem;font-size:.95rem}.password-policy-info ul{margin:.5rem 0 0;padding-left:1.5rem;line-height:1.6}.password-policy-info li{margin-bottom:.25rem}.change-password-modal.dark .password-policy-info{background:#1e88e51a;border-left-color:#42a5f5;color:#90caf9}.password-policy{background:#f5f5f5;color:#333;font-size:.9rem;margin:.5rem 0 1rem;padding:.75rem;border-radius:6px}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.modal-actions button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:500;cursor:pointer;font-size:1rem;transition:all .2s ease}.modal-actions button[type=submit]{background:#1976d2;color:#fff}.modal-actions button[type=submit]:hover:not(:disabled){background:#1565c0;transform:translateY(-1px);box-shadow:0 4px 8px #1976d24d}.modal-actions button[type=button]{background:#eee;color:#333}.modal-actions button[type=button]:hover:not(:disabled){background:#e0e0e0}.protected-layout{display:flex;flex-direction:column;height:100vh;width:100%;background:#f9fafb}.protected-layout.dark{background:#0f172a}.layout-body{display:flex;flex:1;min-height:0}.layout-content{flex:1;display:flex;flex-direction:column;overflow:auto;min-height:0}.layout-content-chat{overflow:hidden}
