:root{--primary-color: #6e45e2;--primary-color-rgb: 110, 69, 226;--secondary-color: #88619c;--accent-color: #f0b90b;--text-color: #333;--text-color-light: #666;--text-color-white: #ffffff;--background-color: #f8f9fa;--card-background: rgba(255, 255, 255, .95);--border-color: rgba(255, 255, 255, .2);--shadow: 0 4px 12px rgba(0, 0, 0, .1);--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--background-gradient: linear-gradient(135deg, #6e45e2 0%, #88619c 100%)}*{margin:0;padding:0;box-sizing:border-box}html,body{margin:0;padding:0;width:100%;min-height:100vh;overflow-x:hidden}body{font-family:var(--font-family);line-height:1.6;color:var(--text-color);background:linear-gradient(135deg,#667eea,#764ba2);background-repeat:no-repeat;background-attachment:fixed;background-size:cover;min-height:100vh;position:relative;display:flex;flex-direction:column}.container{width:100%;min-height:100vh;display:flex;flex-direction:column;flex:1}.app-header{width:100vw;padding:1rem;box-sizing:border-box;position:relative;display:flex;justify-content:center;align-items:center;background:#0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100}.app-header-content{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;padding:0 1rem}.app-header-left,.app-header-right{display:flex;align-items:center;gap:.5rem;color:var(--text-color-white);text-decoration:none;min-width:80px;padding:.5rem;border-radius:8px;transition:all .3s ease;cursor:pointer;background:#ffffff1a;border:1px solid var(--border-color)}.app-header-left:hover,.app-header-right:hover{background:#fff3;transform:translateY(-2px)}.app-header-left{justify-content:flex-start}.app-header-right{justify-content:center;min-width:48px;padding:.5rem}.app-header-title{position:absolute;left:50%;transform:translate(-50%);white-space:nowrap;color:var(--text-color-white);font-size:1.2rem;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.3)}.app-header-icon{font-size:1.2rem}.app-header-text{font-size:.9rem;font-weight:500}.app-header-hidden{visibility:hidden;pointer-events:none}.language-toggle{position:absolute;right:80px;padding:.4rem .8rem;font-size:.8rem;font-weight:600;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff1a;color:var(--text-color-white);cursor:pointer;transition:all .3s ease;white-space:nowrap;min-width:36px;text-align:center}.language-toggle:hover{background:#fff3;border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 2px 8px #0003}.language-switcher,.language-btn{display:none}.page-title{text-align:center;padding:1.5rem 1rem .5rem;color:var(--text-color-white)}.page-title h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;background:linear-gradient(45deg,#fff,#f0f0f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 2px 4px rgba(0,0,0,.3)}.page-title h2{font-size:1.2rem;color:#fffc;font-weight:400}.btn-primary,.btn-secondary{padding:12px 24px;font-size:16px;border-radius:8px;cursor:pointer;transition:all .3s ease;border:none;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-primary{background:var(--primary-color);color:var(--text-color-white);box-shadow:var(--shadow)}.btn-primary:hover{background:var(--secondary-color);transform:translateY(-2px);box-shadow:0 6px 16px #00000026}.btn-secondary{background:transparent;color:var(--text-color-white);border:2px solid var(--border-color)}.btn-secondary:hover{background:#ffffff1a;border-color:#fff6}.card{background:var(--card-background);border-radius:16px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.1)}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:var(--text-color);font-weight:500}.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px;border:2px solid rgba(110,69,226,.2);border-radius:8px;font-size:16px;transition:all .3s ease;background:#ffffffe6}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6e45e21a}.notification-badge{position:absolute;top:-8px;right:-8px;background:#ff4757;color:#fff;font-size:.7rem;font-weight:700;padding:2px 6px;border-radius:10px;min-width:16px;text-align:center;line-height:1;display:none;z-index:1}.app-header-right{position:relative}.user-menu{position:fixed;top:60px;left:1rem;background:#6e45e2f2;border-radius:8px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.2);min-width:auto;width:-moz-max-content;width:max-content;z-index:1000;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.user-menu.hidden{display:none}.menu-item{padding:.75rem 1rem;cursor:pointer;transition:background-color .3s ease;display:flex;align-items:center;gap:.5rem;color:var(--text-color-white);white-space:nowrap;font-size:.9rem}.menu-item:hover{background:#fff3}.menu-item .icon{font-size:1rem;width:16px;text-align:center;color:var(--text-color-white)}.menu-item .badge{margin-left:auto;background:var(--accent-color);color:var(--text-color);font-size:.7rem;padding:2px 6px;border-radius:10px;min-width:16px;text-align:center;font-weight:500}.menu-item .badge.hidden{display:none}.modal{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal.hidden{display:none}.modal-content{background:var(--card-background);border-radius:16px;padding:2rem;max-width:400px;width:90%;box-shadow:var(--shadow)}.modal-content h3{margin-bottom:1.5rem;color:var(--text-color);text-align:center}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions button{flex:1}@media (max-width: 768px){.app-header{padding:.5rem}.app-header-content{padding:0 .5rem}.app-header-left,.app-header-right{padding:.3rem .6rem;min-width:auto;font-size:.8rem}.app-header-right{min-width:40px;padding:.4rem}.app-header-icon{font-size:1rem}.app-header-text{font-size:.7rem;display:block}.app-header-title{font-size:.9rem;max-width:45%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-header-title:hover{animation:scroll-title 3s linear infinite;text-overflow:clip}.page-title h1{font-size:2rem}.page-title h2{font-size:1rem}.page-title{padding:1rem .5rem .25rem}.user-menu{left:.5rem;width:-moz-max-content;width:max-content;min-width:auto}.language-toggle{right:60px;padding:.3rem .6rem;font-size:.8rem;min-width:30px}}@media (max-width: 480px){.app-header-left,.app-header-right{padding:.25rem .4rem;font-size:.7rem;gap:.3rem}.app-header-right{min-width:36px;padding:.3rem}.app-header-icon{font-size:.9rem}.app-header-text{font-size:.65rem}.app-header-title{font-size:.8rem;max-width:40%}.language-toggle{right:50px;padding:.25rem .5rem;font-size:.7rem;min-width:28px}}@keyframes scroll-title{0%{transform:translate(100%)}to{transform:translate(-100%)}}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);padding:8px 16px;border-radius:6px;background:#000c;color:#fff;font-size:14px;line-height:1.4;max-height:60px;min-height:32px;z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 12px #0003;animation:toast-slide-in .3s ease-out forwards;display:flex;align-items:center;max-width:90vw;word-wrap:break-word}.toast-info{border-left:4px solid #3b82f6}.toast-success{border-left:4px solid #22c55e}.toast-error{border-left:4px solid #ef4444}@keyframes toast-slide-in{0%{transform:translate(-50%,-100%);opacity:0}to{transform:translate(-50%);opacity:1}}.confirm-dialog{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.confirm-dialog.hidden{display:none}.confirm-dialog-content{background:#fff;border-radius:12px;padding:24px;max-width:90vw;width:320px;box-shadow:0 8px 32px #0000004d;animation:confirm-dialog-slide-in .3s ease-out}.confirm-dialog-title{font-size:18px;font-weight:600;color:#333;margin-bottom:12px;text-align:center}.confirm-dialog-message{font-size:14px;color:#666;line-height:1.5;margin-bottom:24px;text-align:center}.confirm-dialog-buttons{display:flex;gap:12px;justify-content:center}.confirm-dialog-button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:80px}.confirm-dialog-button.primary{background:var(--primary-color);color:#fff}.confirm-dialog-button.primary:hover{background:var(--secondary-color);transform:translateY(-1px)}.confirm-dialog-button.secondary{background:#f5f5f5;color:#666}.confirm-dialog-button.secondary:hover{background:#e0e0e0}@keyframes confirm-dialog-slide-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
