*{box-sizing:border-box;padding:0}*,body{margin:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0a0a0a;color:#e0e0e0;font-family:Stem,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);min-height:100vh;overflow-x:hidden;position:relative}.App:before{background:radial-gradient(circle at 20% 50%,#667eea1a 0,#0000 50%),radial-gradient(circle at 80% 80%,#764ba21a 0,#0000 50%);bottom:0;content:"";left:0;pointer-events:none;position:fixed;right:0;top:0;z-index:0}.app-header{backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);background:#1f202373;border:1px solid #ffffff14;border-radius:9999px;box-shadow:0 8px 32px #0000004d,inset 0 1px 0 #ffffff0f;margin:1rem auto;max-width:1520px;padding:.75rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{gap:1.5rem;justify-content:space-between;margin:0 auto;max-width:1400px}.header-content,.header-user{align-items:center;display:flex}.header-user{position:relative}.header-avatar-btn{background:none;border:none;border-radius:50%;cursor:pointer;padding:0}.header-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1rem;font-weight:600;height:44px;justify-content:center;overflow:hidden;position:relative;transition:transform .2s ease,box-shadow .2s ease;width:44px}.header-avatar-btn:hover .header-avatar{box-shadow:0 0 0 2px #ffffff4d;transform:scale(1.05)}.header-avatar-bg{background-position:50%;background-repeat:no-repeat;background-size:100%;inset:0;position:absolute}.header-user-menu{background:#2a2b2e;border:1px solid #ffffff14;border-radius:12px;box-shadow:0 8px 32px #0006;min-width:200px;padding:.5rem;position:absolute;right:0;top:calc(100% + 8px);z-index:200}.header-user-menu-name{border-bottom:1px solid #ffffff14;color:#ffffffe6;font-size:1rem;font-weight:500;margin-bottom:.25rem;padding:.75rem 1rem}.header-user-menu-item{background:#0000;border:none;border-radius:8px;color:#ffffffe6;cursor:pointer;display:block;font-size:1rem;padding:.65rem 1rem;text-align:left;transition:background .2s ease;width:100%}.header-user-menu-item:hover{background:#ffffff14}.header-user-menu-item-logout{color:#ef4444e6}.header-user-menu-item-logout:hover{background:#ef444426}.app-loading{align-items:center;background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#ffffffb3;display:flex;flex-direction:column;justify-content:center;min-height:100vh}.app-loading .loading-spinner{animation:spin .8s linear infinite;border:3px solid #ffffff26;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:1rem;width:48px}.app-loading p{font-size:.95rem;margin:0}.logo-container{align-items:center;display:flex;gap:.75rem}.logo-icon{filter:brightness(0) invert(1);height:44px;object-fit:contain;width:44px}.logo{color:#fff;font-size:1.75rem;font-weight:700;margin:0}.nav-tabs{display:flex;gap:.5rem}.nav-tab-wrapper,.nav-tabs{position:relative}.nav-tab-indicator{background:#323439;border-radius:9999px;bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.nav-tab{background:#0000;border:none;border-radius:9999px;color:#ffffffd9;cursor:pointer;font-size:1.05rem;font-weight:500;padding:.6rem 1.4rem;position:relative;transition:color .2s ease;z-index:1}.nav-tab-wrapper.active .nav-tab,.nav-tab:hover{color:#fff}.app-main{margin:0 auto;max-width:1400px;padding:2rem;position:relative;z-index:1}@media (max-width:768px){.app-header{border-radius:16px;margin:.75rem 1rem;max-width:calc(100% - 2rem)}.header-content{flex-direction:column;gap:1rem}.nav-tabs{flex-wrap:wrap;justify-content:center;width:100%}.nav-tab{font-size:.95rem;padding:.5rem 1rem}.header-user-menu{left:auto;min-width:180px;right:0}.app-main{padding:1rem}}.dashboard{animation:fadeIn .3s ease}.charts-section{margin:3rem 0}.charts-row{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:2rem}.chart-wrapper{width:100%}.chart-wrapper.full-width{grid-column:1/-1}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.page-title{color:#fff;font-size:2rem;margin-bottom:2rem}.loading{color:#888;padding:3rem;text-align:center}.income-card-container{display:flex;justify-content:center;margin-bottom:3rem}.income-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:linear-gradient(135deg,#4ade8026,#22c55e33 50%,#10b98126);border:2px solid #4ade804d;border-radius:24px;box-shadow:0 20px 60px #4ade8033,0 0 40px #4ade801a,inset 0 0 60px #4ade800d;max-width:600px;overflow:hidden;padding:2.5rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1);width:100%}.income-card:hover{border-color:#4ade8080;box-shadow:0 25px 80px #4ade804d,0 0 60px #4ade8026,inset 0 0 80px #4ade8014;transform:translateY(-8px)}.income-card-background{animation:backgroundPulse 4s ease-in-out infinite;background:radial-gradient(circle at 30% 50%,#4ade801a 0,#0000 50%),radial-gradient(circle at 70% 80%,#22c55e1a 0,#0000 50%);bottom:0;left:0;opacity:.6;position:absolute;right:0;top:0}@keyframes backgroundPulse{0%,to{opacity:.6}50%{opacity:.8}}.income-card-content{align-items:center;display:flex;gap:2rem;position:relative;z-index:1}.income-icon-wrapper{flex-shrink:0;position:relative}.income-icon-svg{color:#4ade80;height:56px;position:relative;width:56px;z-index:2}.income-text-content{display:flex;flex:1 1;flex-direction:column;gap:.75rem}.income-label{color:#ffffffb3;font-size:1rem;font-weight:500;letter-spacing:.5px;margin:0;text-transform:uppercase}.income-value{color:#4ade80;font-size:3rem;font-weight:800;letter-spacing:-1px;line-height:1.1;margin:0;text-shadow:0 0 20px #4ade8080,0 0 40px #4ade804d}.income-decoration{border-radius:24px;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}.decoration-circle{animation:float 6s ease-in-out infinite;background:radial-gradient(circle,#4ade8026 0,#0000 70%);border-radius:50%;filter:blur(20px);position:absolute}.circle-1{animation-delay:0s;height:150px;right:-50px;top:-50px;width:150px}.circle-2{animation-delay:2s;bottom:-30px;height:100px;left:10%;width:100px}.circle-3{animation-delay:4s;height:80px;right:20%;top:50%;width:80px}@keyframes float{0%,to{opacity:.6;transform:translate(0) scale(1)}33%{opacity:.8;transform:translate(20px,-20px) scale(1.1)}66%{opacity:.5;transform:translate(-15px,15px) scale(.9)}}.stats-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:3rem}.stat-card{align-items:center;display:flex;gap:1.5rem;transition:all .3s ease}.stat-card:hover{border-color:#fff3;box-shadow:0 10px 30px #0000004d;transform:translateY(-5px)}.stat-icon{align-items:center;background:#ffffff0d;border-radius:12px;display:flex;font-size:2.5rem;height:60px;justify-content:center;width:60px}.stat-content h3{color:#aaa;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.stat-value{font-size:1.8rem}.stat-value.expense{color:#f87171}.recent-projects{margin-top:2rem}.section-title{color:#fff;font-size:1.5rem;margin-bottom:1.5rem}.projects-list{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.project-card{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:12px;padding:1.5rem;transition:all .3s ease}.project-card:hover{border-color:#fff3;box-shadow:0 5px 20px #0003;transform:translateY(-3px)}.project-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.project-header h4{color:#fff;font-size:1.1rem;font-weight:600}.client-info{align-items:center;background:#ffffff08;border-radius:8px;display:flex;gap:.75rem;margin-bottom:.75rem;padding:.5rem}.client-avatar{border:2px solid #ffffff1a;border-radius:50%;flex-shrink:0;height:35px;object-fit:cover;width:35px}.client-details{flex:1 1;min-width:0}.client-username{color:#667eea;font-size:.85rem;font-weight:600;margin-bottom:.1rem}.client-name{color:#aaa;font-size:.8rem}.project-client{color:#aaa;font-size:.9rem;margin-bottom:.5rem}.project-budget{color:#4ade80;font-size:.9rem;font-weight:600}.empty-state{font-size:1.1rem;padding:3rem}@media (max-width:768px){.income-card{max-width:100%;padding:2rem}.income-card-content{flex-direction:column;gap:1.5rem;text-align:center}.income-icon-svg{height:48px;width:48px}.income-value{font-size:2.2rem}.projects-list,.stats-grid{grid-template-columns:1fr}}.chart-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:16px;margin-bottom:2rem;padding:1.5rem;transition:all .3s ease}.chart-container:hover{border-color:#fff3;box-shadow:0 10px 30px #0000004d}.chart-title{color:#fff;font-size:1.2rem;font-weight:600;margin-bottom:1.5rem}.chart-empty{color:#666;font-size:1rem;padding:3rem;text-align:center}.pie-chart{margin:0 auto;max-width:400px}.pie-chart .recharts-legend-wrapper{font-size:.75rem!important;margin-top:1rem!important}.pie-chart .recharts-legend-item{font-size:.75rem!important;margin:.25rem 0!important}.notification-container{display:flex;flex-direction:column;gap:12px;max-width:400px;pointer-events:none;position:fixed;right:20px;top:20px;z-index:10000}.notification{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#141414f2;border:1px solid #ffffff1a;border-radius:12px;box-shadow:0 8px 32px #0000004d;display:flex;gap:12px;justify-content:space-between;max-width:400px;min-width:300px;padding:16px;pointer-events:all}.notification-error{background:#ef44441a;border-left:4px solid #ef4444}.notification-success{background:#22c55e1a;border-left:4px solid #22c55e}.notification-warning{background:#f59e0b1a;border-left:4px solid #f59e0b}.notification-info{background:#3b82f61a;border-left:4px solid #3b82f6}.notification-content{align-items:center;display:flex;flex:1 1;gap:12px;min-width:0}.notification-icon{flex-shrink:0;font-size:18px}.notification-message{word-wrap:break-word;color:#e5e7eb;flex:1 1;font-size:14px;line-height:1.4}.notification-close{align-items:center;background:none;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;display:flex;flex-shrink:0;font-size:20px;height:24px;justify-content:center;padding:4px;transition:all .2s ease;width:24px}.notification-close:hover{background:#ffffff1a;color:#fff}@media (max-width:768px){.notification-container{left:10px;max-width:none;right:10px;top:10px}.notification{max-width:none;min-width:auto;padding:12px}.notification-message{font-size:13px}}.notification:hover{box-shadow:0 12px 40px #0006;transform:translateY(-2px)}.notification:after{animation:progress 5s linear forwards;background:currentColor;bottom:0;content:"";height:2px;left:0;opacity:.3;position:absolute}.notification-error:after{background:#ef4444}.notification-success:after{background:#22c55e}.notification-warning:after{background:#f59e0b}.notification-info:after{background:#3b82f6}@keyframes progress{0%{width:100%}to{width:0}}.work-hours-chart-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ecc;border:1px solid #ffffff1a;border-left:3px solid #fbbf2499;border-radius:16px;margin-bottom:2rem;padding:1.5rem;position:relative;transition:all .3s ease}.work-hours-chart-container:hover{border-color:#fff3 #fff3 #fff3 #fbbf24cc;box-shadow:0 10px 30px #0000004d,0 0 20px #fbbf240d}.work-hours-chart-container:before{color:#fbbf24b3;content:"Часы";font-size:.7rem;font-weight:600;letter-spacing:.5px;position:absolute;right:1.5rem;text-transform:uppercase;top:1rem}.work-hours-chart{border-radius:12px;height:300px;padding:1.25rem 0;position:relative}.work-hours-chart-loading{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;height:300px;justify-content:center}.work-hours-chart-loading p{font-size:.95rem;margin-top:15px}.work-hours-chart-loading .loading-spinner{animation:spin 1s linear infinite;border:4px solid #fff3;border-radius:50%;border-top-color:#fbbf24cc;height:40px;width:40px}@media (max-width:768px){.work-hours-chart-container{padding:1.25rem}.work-hours-chart{height:260px}}.projects-page{animation:fadeIn .3s ease}.filters-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1e99;border:1px solid #ffffff14;border-radius:12px;margin-bottom:1.5rem;padding:1rem 1.25rem}.search-box{margin-bottom:1rem}.search-input{background:#14141499;border:1px solid #ffffff14;border-radius:8px;color:#e0e0e0;font-size:.95rem;padding:.65rem 1rem;transition:all .3s ease;width:100%}.search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.filters-row{display:flex;gap:.75rem;margin-bottom:.75rem}.filter-select{background:#14141499;border:1px solid #ffffff14;border-radius:8px;flex:1 1;font-size:.9rem;padding:.65rem .8rem}.results-count{color:#666;font-size:.85rem;text-align:right}.btn-primary{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;padding:.8rem 1.5rem;transition:all .3s ease}.projects-table-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1e99;border:1px solid #ffffff14;border-radius:12px;overflow:hidden}.projects-table-header{grid-gap:1rem;background:#14141466;border-bottom:1px solid #ffffff14;color:#888;display:grid;font-size:.85rem;font-weight:600;gap:1rem;grid-template-columns:2fr 1.5fr 1.2fr 1.2fr 1fr .8fr;letter-spacing:.5px;padding:1rem 1.25rem;text-transform:uppercase}.table-col-name{align-items:flex-start;display:flex;flex-direction:column;justify-content:center}.table-col-actions,.table-col-budget,.table-col-client,.table-col-date,.table-col-status{align-items:center;display:flex}.table-col-client{gap:.5rem}.projects-table-body{display:flex;flex-direction:column}.project-row{grid-gap:1rem;align-items:center;border-bottom:1px solid #ffffff0d;display:grid;gap:1rem;grid-template-columns:2fr 1.5fr 1.2fr 1.2fr 1fr .8fr;padding:1rem 1.25rem;transition:all .2s ease}.project-row:last-child{border-bottom:none}.project-name{color:#fff;font-size:.95rem;font-weight:600;margin-bottom:.25rem}.project-description-row{-webkit-line-clamp:1;-webkit-box-orient:vertical;color:#888;display:-webkit-box;font-size:.8rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis}.client-avatar-small{border:1px solid #ffffff26;border-radius:50%;display:block;flex-shrink:0;height:32px;object-fit:cover;width:32px}.client-avatar-placeholder{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:50%;flex-shrink:0;height:32px;width:32px}.client-info-compact{display:flex;flex-direction:column;gap:.1rem;min-width:0}.client-username-row{color:#667eea;font-size:.85rem;font-weight:500}.client-name-row,.client-username-row{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-name-row{color:#aaa;font-size:.8rem}.status-badge-compact{border:1px solid;border-radius:12px;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .65rem;white-space:nowrap}.budget-value{color:#4ade80;font-size:.9rem;font-weight:600}.date-value{color:#bbb;font-size:.85rem}.table-col-actions{display:flex;gap:.5rem;justify-content:flex-end}.btn-action{align-items:center;background:#0000;border:1px solid #ffffff1a;border-radius:6px;cursor:pointer;display:flex;font-size:.9rem;justify-content:center;padding:.4rem .6rem;transition:all .2s ease}.btn-action-edit:hover{background:#3b82f633;border-color:#3b82f666}.btn-action-delete:hover{background:#ef444433;border-color:#ef444466}.empty-state-table{color:#666;font-size:.95rem;grid-column:1/-1;padding:3rem;text-align:center}.modal-content h3{color:#fff;font-size:1.5rem;margin-bottom:1.5rem}.form-group label{color:#aaa}.form-group input,.form-group select,.form-group textarea{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:8px;color:#e0e0e0;font-size:1rem;padding:.8rem}.file-input{background:#141414cc;border:1px solid #ffffff1a;border-radius:8px;color:#e0e0e0;cursor:pointer;padding:.5rem}.file-input::-webkit-file-upload-button{background:#667eea33;border:1px solid #667eea4d;border-radius:6px;color:#667eea;cursor:pointer;margin-right:1rem;padding:.5rem 1rem}.avatar-preview{align-items:center;display:flex;gap:.5rem;margin-top:.5rem;position:relative}.avatar-preview img{border:2px solid #ffffff1a;border-radius:50%;height:50px;object-fit:cover;width:50px}.remove-avatar-btn{align-items:center;background:#ef444433;border:1px solid #ef44444d;border-radius:50%;color:#f87171;cursor:pointer;display:flex;font-size:.8rem;height:24px;justify-content:center;transition:all .3s ease;width:24px}.remove-avatar-btn:hover{background:#ef44444d}.form-row{grid-gap:1rem;gap:1rem}.btn-secondary{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;cursor:pointer;flex:1 1;font-size:1rem;font-weight:500;padding:.8rem;transition:all .3s ease}.btn-secondary:hover{background:#ffffff1a}.status-badge{border:1px solid;border-radius:20px;display:inline-block;font-size:.75rem;font-weight:600;padding:.3rem .8rem}.status-badge.negotiation{background:#f59e0b33;border-color:#f59e0b4d;color:#fbbf24}.status-badge.in_progress{background:#3b82f633;border-color:#3b82f64d;color:#60a5fa}.status-badge.awaiting_payment{background:#a78bfa33;border-color:#a78bfa4d;color:#a78bfa}.status-badge.completed{background:#22c55e33;border-color:#22c55e4d;color:#4ade80}@media (max-width:1200px){.project-row,.projects-table-header{gap:.75rem;grid-template-columns:2fr 1.5fr 1fr 1fr .9fr .8fr}.table-col-date{display:none}.project-row{grid-template-columns:2fr 1.5fr 1fr 1fr .8fr}}@media (max-width:768px){.page-header{align-items:flex-start;gap:1rem}.filters-row,.page-header{flex-direction:column}.project-row,.projects-table-header{gap:.5rem;grid-template-columns:1fr;padding:.75rem}.table-col-actions,.table-col-budget,.table-col-client,.table-col-date,.table-col-name,.table-col-status{border-bottom:1px solid #ffffff0d;padding:.5rem 0}.table-col-actions{border-bottom:none;justify-content:flex-start}.projects-table-header{display:none}.project-row{background:#1e1e1e66;border:1px solid #ffffff14;border-radius:8px;margin-bottom:.75rem}.form-row{grid-template-columns:1fr}.modal-content{padding:1.5rem;width:95%}}.project-name-with-expand{align-items:flex-start;display:flex;gap:8px}.expand-button{background:none;border:none;border-radius:3px;color:#666;cursor:pointer;font-size:12px;margin-top:2px;padding:2px 4px;transition:all .2s ease}.expand-button:hover{background:#f0f0f0;color:#333}.project-operations{background:#f8f9fa;border-left:3px solid #667eea;border-radius:8px;margin:8px 0 16px 20px;padding:16px}.operations-header h4{color:#333;font-size:14px;font-weight:600;margin:0 0 12px}.operations-list{display:flex;flex-direction:column;gap:8px}.operation-item{background:#fff;border:1px solid #e1e5e9;border-radius:6px;padding:12px}.operation-info{align-items:center;display:flex;gap:12px;margin-bottom:4px}.operation-amount{color:#27ae60;font-size:14px;font-weight:600}.operation-date{color:#666;font-size:12px}.operation-category{border-radius:12px;color:#fff;font-size:11px;font-weight:500;padding:2px 8px}.operation-description{color:#666;font-size:12px;margin-top:4px}.no-operations{color:#999;font-style:italic;padding:20px;text-align:center}.budget-and-total{display:flex;flex-direction:column;gap:4px;min-width:0}.budget-actual,.budget-expected{align-items:center;display:flex;font-size:.85rem;gap:6px}.budget-label{color:#888;font-size:.75rem;min-width:35px}.budget-value-expected{color:#fbbf24;font-weight:600}.budget-value-actual{color:#4ade80;font-weight:600}.budget-empty{color:#666;font-size:.85rem}.confirm-dialog-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10001}.confirm-dialog-content{background:#141414fa;border:1px solid #ffffff26;border-radius:16px;box-shadow:0 20px 60px #00000080;max-width:450px;overflow:hidden;padding:0;width:90%}.confirm-dialog-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;gap:16px;padding:24px 24px 16px}.confirm-dialog-icon{flex-shrink:0;font-size:28px}.confirm-dialog-title{color:#fff;flex:1 1;font-size:20px;font-weight:600;margin:0}.confirm-dialog-body{padding:20px 24px}.confirm-dialog-message{color:#e5e7eb;font-size:16px;line-height:1.5;margin:0}.confirm-dialog-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px 24px}.confirm-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;min-width:80px;padding:12px 24px;transition:all .2s ease}.confirm-btn-cancel{background:#ffffff14;border:1px solid #ffffff26;color:#e5e7eb}.confirm-btn-cancel:hover{background:#ffffff1f;border-color:#ffffff40}.confirm-btn-warning{background:linear-gradient(135deg,#f59e0b,#d97706);border:1px solid #f59e0b4d;color:#fff}.confirm-btn-warning:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 12px #f59e0b4d}.confirm-btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);border:1px solid #ef44444d;color:#fff}.confirm-btn-danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef44444d}.confirm-btn-info{background:linear-gradient(135deg,#3b82f6,#2563eb);border:1px solid #3b82f64d;color:#fff}.confirm-btn-info:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f64d}@media (max-width:768px){.confirm-dialog-content{margin:20px;width:95%}.confirm-dialog-header{padding:20px 20px 16px}.confirm-dialog-body{padding:16px 20px}.confirm-dialog-actions{flex-direction:column-reverse;padding:16px 20px 20px}.confirm-btn{width:100%}.confirm-dialog-title{font-size:18px}.confirm-dialog-message{font-size:15px}}.confirm-dialog-content:hover{box-shadow:0 25px 70px #0009;transform:translateY(-2px)}.statistics-page{animation:fadeIn .3s ease}.header-actions{display:flex;gap:1rem}.btn-export{background:#22c55e33;border:1px solid #22c55e4d;border-radius:8px;color:#4ade80;cursor:pointer;font-size:1rem;font-weight:600;padding:.8rem 1.5rem;transition:all .3s ease}.btn-export:hover{background:#22c55e4d}.chart-section{margin:2rem 0}.filter-section{display:flex;justify-content:flex-end;margin:2rem 0}.filter-select{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:10px;color:#e0e0e0;cursor:pointer;font-size:.95rem;padding:.8rem 1rem;transition:all .3s ease}.filter-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}input[type=date]{color-scheme:dark}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(1)}.stats-overview{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:3rem}.overview-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:16px;padding:2rem}.overview-card.highlight{background:linear-gradient(135deg,#667eea33,#764ba233);border-color:#667eea4d}.username-income-chart{border-top:1px solid #ffffff1a;margin-top:1.5rem;padding-top:1.5rem}.overview-card h3{color:#fff;font-size:1.3rem;margin-bottom:1.5rem}.overview-stats{display:flex;flex-direction:column;gap:1rem}.overview-item{align-items:center;background:#ffffff08;border-radius:8px;display:flex;justify-content:space-between;padding:1rem}.overview-item.total{background:#ffffff0d;border:1px solid #ffffff1a;margin-top:.5rem}.overview-label{color:#aaa;font-size:1rem}.overview-value{color:#fff;font-size:1.2rem;font-weight:700}.overview-value.income{color:#4ade80}.overview-value.expense{color:#f87171}.overview-value.profit{color:#60a5fa;font-size:1.4rem}.overview-value.budget{color:#a78bfa}.financial-records{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.records-section{width:100%}.records-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.record-card{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:12px;padding:1.5rem;transition:all .3s ease}.record-card:hover{border-color:#fff3;box-shadow:0 5px 20px #0003;transform:translateY(-3px)}.record-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.record-info{display:flex;flex-direction:column;gap:.3rem}.record-type{font-size:.9rem;font-weight:600}.record-type.income{color:#4ade80}.record-type.expense{color:#f87171}.record-date{color:#888;font-size:.85rem}.record-amount{font-size:1.3rem;font-weight:700}.record-amount.income{color:#4ade80}.record-amount.expense{color:#f87171}.record-description{color:#bbb;line-height:1.6;margin-bottom:.5rem}.record-project{color:#888;font-size:.85rem;margin-bottom:1rem}.btn-delete-small{background:#ef444433;border:1px solid #ef44444d;border-radius:6px;color:#f87171;cursor:pointer;font-size:.85rem;padding:.5rem 1rem;transition:all .3s ease}.btn-delete-small:hover{background:#ef44444d}@media (max-width:768px){.financial-records,.stats-overview{grid-template-columns:1fr}}.work-timer{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(135deg,#667eea14,#764ba214);border:1px solid #667eea33;border-radius:20px;box-shadow:0 8px 32px #0003;color:#fffffff2;padding:2rem;transition:border-color .3s ease,box-shadow .3s ease}.work-timer:hover{border-color:#667eea66;box-shadow:0 12px 40px #667eea26}.timer-header{margin-bottom:1.5rem;text-align:center}.timer-header h3{color:#fffffff2;font-size:1.25rem;font-weight:700;letter-spacing:-.01em;margin:0}.api-warning{background:#fbbf241f;border:1px solid #fbbf2459;border-radius:10px;color:#fbbf24;font-size:.8rem;margin-top:.75rem;padding:.6rem 1rem;text-align:center}.timer-loading{align-items:center;display:flex;flex-direction:column;padding:2rem 1rem}.timer-loading p{color:#fff9;font-size:.9rem;margin-top:.75rem}.work-timer .loading-spinner{animation:wt-spin .8s linear infinite;border:3px solid #ffffff1f;border-radius:50%;border-top-color:#667eea;height:40px;width:40px}@keyframes wt-spin{to{transform:rotate(1turn)}}.active-timer{align-items:center;display:flex;flex-direction:column;gap:2rem;padding:1.5rem 0;text-align:center}.timer-display{background:linear-gradient(135deg,#667eea33,#764ba233);border:2px solid #667eea59;border-radius:16px;box-shadow:inset 0 2px 8px #0000001a;max-width:500px;padding:2.5rem 2rem;width:100%}.timer-time{font-feature-settings:"tnum";color:#fff;font-size:3.5rem;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:.05em;margin-bottom:.75rem;text-shadow:0 2px 12px #667eea80}.timer-project{color:#ffffffe6;font-size:1.1rem;font-weight:500;gap:.5rem;justify-content:center}.start-timer,.timer-project{align-items:center;display:flex}.start-timer{flex-direction:column;gap:2rem;padding:1.5rem 0}.project-selector{background:#ffffff0a;border:1px solid #ffffff14;border-radius:14px;max-width:500px;padding:1.5rem;width:100%}.project-selector label{color:#ffffffe6;display:block;font-size:1rem;font-weight:600;margin-bottom:.75rem;text-align:center}.project-selector select{background:#ffffff14;border:2px solid #667eea4d;border-radius:12px;color:#fff;cursor:pointer;font-size:1.05rem;font-weight:500;padding:1rem 1.25rem;transition:border-color .2s ease,background .2s ease;width:100%}.project-selector select:hover{background:#ffffff1f;border-color:#667eea80}.project-selector select:focus{background:#ffffff1f;border-color:#667eea;box-shadow:0 0 0 3px #667eea40;outline:none}.project-selector select option{background:#1a1a1e;color:#fff;padding:.5rem}.project-selector select option:first-child{color:#ffffff80;font-style:italic}.timer-btn{align-items:center;border:none;border-radius:50%;cursor:pointer;display:flex;height:120px;justify-content:center;margin:0 auto;padding:0;position:relative;transition:transform .3s ease,box-shadow .3s ease,opacity .2s ease;width:120px}.pause-icon,.play-icon{height:48px;transition:transform .2s ease;width:48px}.play-btn{background:linear-gradient(135deg,#4ade80,#22c55e);box-shadow:0 8px 32px #22c55e66;color:#fff}.play-btn:hover:not(:disabled){box-shadow:0 12px 40px #22c55e80}.play-btn:hover:not(:disabled) .play-icon{transform:scale(1.1)}.play-btn:disabled{background:#ffffff14;box-shadow:none;color:#ffffff4d;cursor:not-allowed;opacity:.5}.pause-btn{animation:pulse 2s ease-in-out infinite;background:linear-gradient(135deg,#f59e0b,#ef4444);box-shadow:0 8px 32px #ef444466;color:#fff}.pause-btn:hover{animation:none;box-shadow:0 12px 40px #ef444480}.pause-btn:hover .pause-icon{transform:scale(1.1)}@keyframes pulse{0%,to{box-shadow:0 8px 32px #ef444466}50%{box-shadow:0 12px 40px #ef444499}}.timer-history{border-top:1px solid #ffffff1a;margin-top:1.5rem;padding-top:1.25rem}.timer-history h4{color:#fffc;font-size:.9rem;font-weight:600;margin:0 0 .75rem}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-item{grid-gap:1rem;align-items:center;background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;display:grid;gap:1rem;grid-template-columns:1fr auto auto;padding:.75rem 1rem;transition:background .2s ease}.history-item:hover{background:#ffffff14}.history-project{color:#ffffffe6;font-size:.85rem;font-weight:500}.history-duration{color:#4ade80;font-size:.85rem;font-weight:600}.history-date{color:#ffffff80;font-size:.75rem}@media (max-width:768px){.work-timer{padding:1.5rem}.timer-time{font-size:2.5rem}.timer-btn{height:100px;width:100px}.pause-icon,.play-icon{height:40px;width:40px}.project-selector{padding:1rem}.history-item{gap:.35rem;grid-template-columns:1fr;text-align:center}.history-duration{font-size:.95rem;order:-1}}.work-hours-manager{margin:0 auto;max-width:1200px;padding:2rem;position:relative;z-index:1}.work-hours-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.work-hours-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#fff,#ffffffd9);-webkit-background-clip:text;background-clip:text;color:#fffffff2;font-size:1.75rem;font-weight:700;letter-spacing:-.02em;margin:0}.btn-add-hours{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 20px #667eea59;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.75rem 1.5rem;transition:transform .2s ease,box-shadow .2s ease}.btn-add-hours:hover{box-shadow:0 6px 28px #667eea73}.btn-add-hours:active{transform:scale(.98)}.loading-container{color:#fff9;min-height:280px}.loading-container p{font-size:.95rem;margin-top:1rem}.work-hours-manager .loading-spinner{animation:whm-spin .8s linear infinite;border:3px solid #ffffff26;border-radius:50%;border-top-color:#667eea;height:44px;width:44px}@keyframes whm-spin{to{transform:rotate(1turn)}}.timers-section{margin-bottom:2.5rem}.timers-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.work-hours-list{display:flex;flex-direction:column;gap:1.5rem}.no-data{background:#ffffff08;border:1px dashed #ffffff1a;border-radius:16px;color:#ffffff80;font-size:1rem;padding:4rem 1.5rem;text-align:center}.work-hours-group{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;padding:1.5rem 1.75rem}.group-title{border-bottom:1px solid #ffffff1a;color:#ffffffe6;font-size:1.125rem;font-weight:600;margin:0 0 1.25rem;padding-bottom:.75rem}.records-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.work-hours-card{align-items:center;background:#ffffff0d;border:1px solid #ffffff14;border-radius:12px;display:flex;justify-content:space-between;padding:1.25rem;transition:background .2s ease,border-color .2s ease,transform .2s ease}.work-hours-card:hover{background:#ffffff14;border-color:#667eea4d}.employee-info{flex:1 1;min-width:0}.employee-name{color:#fffffff2;font-size:.95rem;font-weight:600;margin-bottom:.25rem}.hours-value{color:#a5b4fc;font-size:.875rem;font-weight:500}.card-actions{display:flex;flex-shrink:0;gap:.5rem}.btn-delete,.btn-edit{background:#ffffff14;font-size:1rem;transition:background .2s ease,transform .2s ease}.btn-edit:hover{background:#60a5fa33}.btn-delete:hover{background:#f8717133}.btn-delete:active,.btn-edit:active{transform:scale(.95)}.work-hours-manager .modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.work-hours-modal{background:linear-gradient(180deg,#1a1a1e,#151518);border-radius:20px;box-shadow:0 24px 48px #00000080,0 0 0 1px #ffffff0f;max-width:440px;padding:2rem;width:90%}.work-hours-modal h3{color:#fffffff2;font-size:1.35rem;font-weight:700;margin:0 0 1.5rem;text-align:center}.work-hours-manager .form-group{margin-bottom:1.25rem}.work-hours-manager .form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.work-hours-manager .form-group label{color:#ffffffb3;display:block;font-size:.8rem;font-weight:500;margin-bottom:.5rem}.work-hours-manager .form-group input,.work-hours-manager .form-group select{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:10px;color:#fff;font-size:.95rem;padding:.75rem 1rem;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.work-hours-manager .form-group input::placeholder{color:#ffffff59}.work-hours-manager .form-group input:focus,.work-hours-manager .form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33;outline:none}.work-hours-manager .form-group input:disabled,.work-hours-manager .form-group select:disabled{background:#ffffff0a;color:#ffffff80;cursor:not-allowed}.work-hours-manager .form-group select option{background:#1a1a1e;color:#fff}.modal-actions{border-top:1px solid #ffffff14;gap:.75rem;margin-top:1.75rem;padding-top:1rem}.btn-cancel,.btn-save{font-size:.9rem;padding:.65rem 1.25rem;transition:background .2s ease,opacity .2s ease}.btn-cancel{background:#ffffff1a;color:#ffffffe6}.btn-cancel:hover{background:#ffffff26}.btn-save{box-shadow:0 4px 16px #667eea59}.btn-save:hover:not(:disabled){box-shadow:0 6px 22px #667eea73}.btn-save:disabled{opacity:.7}.time-input-row{align-items:center;display:flex;gap:1rem}.time-input-group{align-items:center;display:flex;flex:1 1;gap:.5rem}.time-input-group input{font-size:1.1rem;font-weight:600;text-align:center;width:72px}.time-label{color:#ffffff80;font-size:.8rem;font-weight:500;white-space:nowrap}@media (max-width:768px){.work-hours-manager{padding:1.25rem}.work-hours-header{align-items:stretch;flex-direction:column;text-align:center}.work-hours-header h2{font-size:1.5rem}.records-grid,.timers-grid{grid-template-columns:1fr}.work-hours-modal{margin:1rem;padding:1.5rem}.work-hours-manager .form-row{grid-template-columns:1fr}}@media (max-width:480px){.time-input-row{align-items:stretch;flex-direction:column}.time-input-group{justify-content:center}.time-input-group input{width:100%}.modal-actions{flex-direction:column}.modal-actions .btn-cancel,.modal-actions .btn-save{width:100%}}.contracts-container{margin:0 auto;max-width:1400px;padding:20px}.contracts-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.contracts-header h2{color:#1f2937;font-size:28px;font-weight:700;margin:0}.btn-add-contract{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.btn-add-contract:hover{box-shadow:0 6px 20px #667eea66}.loading-container{color:#6b7280;height:300px}.loading-container p{font-size:16px;margin-top:15px}.loading-spinner{border:4px solid #e5e7eb;height:40px;width:40px}.no-contracts{color:#6b7280;font-size:18px;padding:60px 20px;text-align:center}.contracts-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.contract-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;box-shadow:0 4px 20px #00000014;padding:25px;transition:all .3s ease}.contract-card:hover{border-color:#cbd5e1;box-shadow:0 8px 30px #0000001f}.contract-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:15px}.contract-name{color:#1f2937;flex:1 1;font-size:18px;font-weight:600;margin:0 15px 0 0}.contract-status{border-radius:20px;color:#fff;font-size:12px;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.contract-info{margin-bottom:15px}.contract-info>div{align-items:center;color:#4b5563;display:flex;font-size:14px;gap:8px;margin-bottom:8px}.contract-project{color:#667eea;font-weight:600}.contract-description{background:#f8fafc;border-radius:8px;color:#6b7280;font-style:italic;margin-top:10px;padding:10px}.contract-file{background:#f9fafb;border-radius:8px;margin-bottom:15px;padding:10px}.file-info{align-items:center;display:flex;justify-content:space-between}.file-name{color:#4b5563;flex:1 1;font-size:14px}.btn-download{background:none;border:none;border-radius:5px;cursor:pointer;font-size:16px;padding:5px;transition:all .2s ease}.btn-download:hover{background:#667eea1a}.no-file{color:#9ca3af;font-size:14px;font-style:italic}.contract-actions{display:flex;gap:10px;justify-content:flex-end}.btn-delete,.btn-edit{background:none;border:none;font-size:16px;padding:8px;transition:all .2s ease}.btn-edit:hover{background:#3b82f61a}.btn-delete:hover{background:#ef44441a}.modal-overlay{background:#00000080}.contracts-modal{background:#fff;border-radius:20px;box-shadow:0 20px 40px #00000026;max-height:90vh;max-width:600px;overflow-y:auto;padding:30px;width:90%}.contracts-modal h3{color:#1f2937;font-size:24px;font-weight:700;margin:0 0 25px;text-align:center}.form-group{margin-bottom:20px}.form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr}.form-group label{color:#374151;font-size:14px;font-weight:600;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{background:#fff;border:2px solid #e5e7eb;border-radius:10px;font-size:16px;padding:12px 15px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group textarea{min-height:80px;resize:vertical}.selected-file{background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;color:#0369a1;font-size:14px;margin-top:8px;padding:8px 12px}.modal-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:30px}.btn-cancel,.btn-save{border:none;border-radius:10px;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.btn-cancel{background:#f3f4f6;color:#374151}.btn-cancel:hover{background:#e5e7eb}.btn-save{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.btn-save:hover:not(:disabled){box-shadow:0 6px 20px #667eea66}.btn-save:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.contracts-container{padding:15px}.contracts-header{align-items:stretch;flex-direction:column;gap:15px}.contracts-header h2{font-size:24px;text-align:center}.contracts-grid{grid-template-columns:1fr}.contracts-modal{margin:20px;padding:20px}.form-row{grid-template-columns:1fr}.modal-actions{flex-direction:column}}.hosting-page{animation:fadeIn .3s ease;padding:2rem}.page-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.page-header h2{color:#fff;font-size:2rem;margin:0}.hosting-tabs{display:flex;gap:.5rem}.hosting-tab{background:#ffffff0d;border:1px solid #ffffff26;border-radius:10px;color:#fffc;cursor:pointer;font-size:.95rem;padding:.5rem 1rem;transition:all .2s}.hosting-tab:hover{background:#ffffff1a}.hosting-tab.active{background:#667eea4d;border-color:#667eea80;color:#fff}.hosting-stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:16px;padding:1.5rem}.stat-card h3{color:#888;font-size:.9rem;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.stat-value{color:#fff;font-size:2rem;font-weight:700;margin:0}.hosting-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.hosting-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:16px;padding:1.5rem;transition:all .3s ease}.hosting-card:hover{border-color:#667eea80;box-shadow:0 10px 30px #0000004d}.hosting-card-header{align-items:flex-start;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.hosting-card-header h3{color:#fff;font-size:1.3rem;margin:0 0 .5rem}.hosting-client{color:#888;font-size:.9rem;margin:0}.hosting-actions{display:flex;gap:.5rem}.btn-delete,.btn-edit{align-items:center;background:#0000;border:1px solid #fff3;border-radius:8px;cursor:pointer;display:flex;font-size:1.2rem;height:36px;justify-content:center;padding:.5rem;transition:all .3s ease;width:36px}.btn-edit:hover{background:#667eea33;border-color:#667eea80}.btn-delete:hover{background:#ef444433;border-color:#ef444480}.hosting-card-body{display:flex;flex-direction:column;gap:.75rem}.hosting-info-row{align-items:center;display:flex;justify-content:space-between;padding:.5rem 0}.hosting-info-row.highlight{background:#667eea1a;border-radius:8px;margin-top:.5rem;padding:.75rem}.info-label{color:#888;font-size:.9rem}.info-value{color:#fff;font-size:1rem;font-weight:600}.info-value.accumulated{color:#4ade80;font-size:1.2rem;font-weight:700}.empty-state{color:#666;grid-column:1/-1;padding:4rem 2rem;text-align:center}.empty-state p{margin:.5rem 0}.empty-hint{color:#555;font-size:.9rem}.loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:400px;padding:4rem}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #667eea33;border-radius:50%;border-top-color:#667eea;height:50px;margin-bottom:1rem;width:50px}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#141414f2;border:1px solid #ffffff1a;border-radius:16px;max-height:90vh;max-width:500px;overflow-y:auto;padding:2rem;width:90%}.modal-content h2{color:#fff;font-size:1.5rem;margin:0 0 1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#e0e0e0;display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.form-group input{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:8px;box-sizing:border-box;color:#fff;font-size:1rem;padding:.75rem;width:100%}.form-group input:focus{border-color:#667eea80;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.btn-primary,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.btn-secondary{background:#ffffff1a;color:#e0e0e0}.btn-secondary:hover{background:#fff3}.timeweb-cloud{padding:0}.timeweb-loading{align-items:center;color:#ffffffb3;display:flex;flex-direction:column;justify-content:center;min-height:300px}.timeweb-error{align-items:center;background:#ef444426;border:1px solid #ef444466;border-radius:12px;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem;padding:1rem 1.5rem}.timeweb-error p{color:#f87171;margin:0}.btn-retry{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.btn-retry:hover{background:#ffffff26}.timeweb-stats{margin-bottom:2rem}.timeweb-balance-card{background:linear-gradient(135deg,#667eea33,#764ba233);border:1px solid #667eea4d;border-radius:16px;max-width:400px;padding:1.5rem 2rem}.balance-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.balance-header h3{color:#ffffffb3;font-size:.9rem;letter-spacing:.5px;margin:0;text-transform:uppercase}.btn-topup{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;color:#fff;font-size:.9rem;font-weight:600;padding:.5rem 1rem;text-decoration:none;transition:transform .2s,box-shadow .2s}.btn-topup:hover{box-shadow:0 4px 15px #667eea66;color:#fff;transform:translateY(-2px)}.balance-value{color:#4ade80;font-size:2rem;font-weight:700;margin:0}.balance-details{color:#fff9;display:flex;font-size:.9rem;gap:1.5rem;margin-top:.75rem}.timeweb-sections{display:flex;flex-direction:column;gap:2rem}.timeweb-section h3{color:#fff;font-size:1.2rem;margin:0 0 1rem}.timeweb-empty{color:#ffffff80;margin:0;padding:2rem;text-align:center}.timeweb-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.timeweb-card{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:12px;display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;transition:border-color .2s}.timeweb-card:hover{border-color:#667eea66}.card-title{color:#fff;font-weight:600}.card-desc{color:#fff9;font-size:.9rem}.timeweb-servers{display:flex;flex-direction:column;gap:.75rem}.timeweb-server-card{background:#1e1e1ecc;border:1px solid #ffffff1a;border-radius:12px;padding:1.25rem;transition:border-color .2s}.timeweb-server-card:hover{border-color:#667eea66}.server-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.server-name{color:#fff;font-weight:600}.server-status{background:#ffffff1a;border-radius:6px;color:#fffc;font-size:.8rem;padding:.25rem .6rem}.server-status.status-on,.server-status.status-started{background:#4ade8033;color:#4ade80}.server-status.status-off,.server-status.status-stopped{background:#ffffff14;color:#ffffff80}.server-info{color:#fff9;display:flex;flex-wrap:wrap;font-size:.9rem;gap:1rem}.settings-page{margin:0 auto;max-width:900px;padding:2rem;position:relative;z-index:1}.settings-forbidden,.settings-loading{color:#fff9;padding:4rem 2rem;text-align:center}.settings-loading .loading-spinner{animation:spin .8s linear infinite;border:3px solid #ffffff26;border-radius:50%;border-top-color:#667eea;height:44px;margin:0 auto 1rem;width:44px}@keyframes spin{to{transform:rotate(1turn)}}.settings-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.settings-header h2{color:#fffffff2;font-size:1.75rem;font-weight:700;margin:0}.btn-add-user{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 20px #667eea59;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.75rem 1.5rem;transition:box-shadow .2s ease}.btn-add-user:hover{box-shadow:0 6px 28px #667eea73}.settings-section{background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;padding:1.5rem}.settings-section h3{color:#ffffffe6;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.users-list{display:flex;flex-direction:column;gap:.75rem}.no-users{color:#ffffff80;margin:0}.user-card{background:#ffffff0d;border:1px solid #ffffff14;border-radius:12px;padding:1rem 1.25rem}.user-info{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem 1rem}.user-name{color:#fffffff2;font-weight:600}.user-email{color:#fff9;font-size:.9rem}.user-display{color:#ffffff80;font-size:.85rem}.user-role{border-radius:6px;font-size:.75rem;font-weight:500;padding:.2rem .5rem}.role-admin{background:#667eea40;color:#a5b4fc}.role-user{background:#ffffff1a;color:#ffffffb3}.settings-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.settings-modal{background:linear-gradient(180deg,#1a1a1e,#151518);border-radius:20px;box-shadow:0 24px 48px #00000080;max-width:440px;padding:2rem;width:90%}.settings-modal h3{color:#fffffff2;font-size:1.25rem;margin:0 0 1.5rem}.settings-modal .form-group{margin-bottom:1rem}.settings-modal label{color:#ffffffb3;display:block;font-size:.85rem;margin-bottom:.4rem}.settings-modal input,.settings-modal select{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:10px;color:#fff;font-size:.95rem;padding:.7rem 1rem;width:100%}.settings-modal input:focus,.settings-modal select:focus{border-color:#667eea;outline:none}.settings-modal .modal-actions{border-top:1px solid #ffffff14;display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem}.settings-modal .btn-cancel{background:#ffffff1a;color:#ffffffe6;font-weight:500}.settings-modal .btn-cancel,.settings-modal .btn-save{border:none;border-radius:10px;cursor:pointer;padding:.65rem 1.25rem}.settings-modal .btn-save{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600}.settings-modal .btn-save:disabled{cursor:not-allowed;opacity:.7}.profile-page{margin:0 auto;max-width:680px;padding-bottom:2rem;position:relative}.profile-back-btn{background:#ffffff14;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;margin-bottom:1rem;padding:.5rem 1rem}.profile-back-btn:hover{background:#ffffff1f}.profile-cover{border-radius:12px 12px 0 0;height:240px;overflow:hidden;position:relative}.profile-cover-bg{background:linear-gradient(135deg,#1a1b2e,#16213e 30%,#0f3460 60%,#533483);inset:0;position:absolute}.profile-card{background:#1a1b1ecc;border:1px solid #ffffff14;border-radius:0 0 12px 12px;border-top:none;margin-top:-80px;padding:0 24px 32px;position:relative;z-index:1}.profile-avatar-wrap{margin:0 auto;position:relative;width:-webkit-fit-content;width:fit-content}.profile-avatar{background:linear-gradient(135deg,#667eea,#764ba2);border:4px solid #1a1b1ef2;border-radius:50%;box-shadow:0 4px 20px #00000080;display:block;overflow:hidden;position:relative}.profile-avatar-img{background-position:50%;background-repeat:no-repeat;background-size:100%;inset:0;position:absolute}.profile-avatar-initials{align-items:center;color:#fff;display:flex;font-size:2.2rem;font-weight:700;height:100%;justify-content:center;width:100%}.profile-avatar-input{height:0;opacity:0;position:absolute;width:0}.profile-avatar-edit{align-items:center;background:#667eea;border:2px solid #1a1b1ef2;border-radius:50%;bottom:0;color:#fff;cursor:pointer;display:flex;height:36px;justify-content:center;position:absolute;right:0;transition:background .2s,transform .2s;width:36px}.profile-avatar-edit:hover{background:#5a6fd6;transform:scale(1.05)}.profile-name{color:#fff;font-size:1.75rem;font-weight:700;margin:24px 0 4px;text-align:center}.profile-email{color:#ffffff80;font-size:.95rem;margin:0 0 20px;text-align:center}.profile-bio{background:#ffffff0a;border-radius:8px;margin-bottom:20px;padding:16px 20px}.profile-bio p{color:#ffffffe6;font-size:1rem;line-height:1.6;margin:0}.profile-edit-btn{background:#ffffff0f;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:1rem;font-weight:600;padding:12px 24px;transition:background .2s,border-color .2s;width:100%}.profile-edit-btn:hover{background:#ffffff1a;border-color:#ffffff4d}.profile-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b3;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1000}.profile-crop-modal,.profile-modal{background:#1e1f23;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 24px 60px #00000080;max-height:90vh;max-width:480px;overflow-y:auto;width:100%}.profile-crop-modal{padding:24px}.profile-crop-modal h3{color:#fff;font-size:1.25rem;font-weight:700;margin:0 0 8px}.profile-crop-hint{color:#fff9;font-size:.9rem;margin:0 0 20px}.profile-crop-preview{display:flex;justify-content:center;margin-bottom:24px}.profile-crop-frame{border:2px solid #fff3}.profile-crop-controls{margin-bottom:20px}.profile-crop-controls label{color:#fffc;display:block;font-size:.9rem;font-weight:500;margin-bottom:8px}.profile-crop-slider{-webkit-appearance:none;appearance:none;background:#ffffff26;border-radius:3px;height:6px;outline:none;width:100%}.profile-crop-slider::-webkit-slider-thumb{-webkit-appearance:none;background:#667eea;border-radius:50%;cursor:pointer;height:18px;width:18px}.profile-crop-scale-value{color:#ffffff80;display:block;font-size:.85rem;margin-top:4px}.profile-crop-grid{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(3,1fr)}.profile-crop-pos{aspect-ratio:1;background:#ffffff0d;border:2px solid #fff3;border-radius:6px;cursor:pointer;transition:all .2s}.profile-crop-pos.active,.profile-crop-pos:hover{background:#667eea4d;border-color:#667eea}.profile-crop-sizes{display:flex;gap:8px}.profile-crop-size-btn{background:#ffffff0d;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;font-size:.9rem;padding:8px 16px;transition:all .2s}.profile-crop-size-btn.active,.profile-crop-size-btn:hover{background:#667eea4d;border-color:#667eea;color:#fff}.profile-crop-actions{border-top:1px solid #ffffff14;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.profile-modal-header{align-items:center;display:flex;justify-content:space-between;padding:20px 24px 0}.profile-modal-header h2{color:#fff;font-size:1.2rem;font-weight:700;margin:0}.profile-modal-close{background:#ffffff1a;border:none;border-radius:50%;color:#fffc;cursor:pointer;font-size:1.5rem;height:36px;line-height:1;transition:background .2s;width:36px}.profile-modal-close:hover{background:#ffffff26}.profile-modal-form{padding:20px 24px 24px}.profile-form-section{margin-bottom:20px}.profile-form-section label{color:#fffc;display:block;font-size:.9rem;font-weight:500;margin-bottom:8px}.profile-input,.profile-textarea{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;color:#fff;font-size:.95rem;padding:12px 16px;width:100%}.profile-input:focus,.profile-textarea:focus{border-color:#667eea80;outline:none}.profile-textarea{min-height:100px;resize:vertical}.profile-modal-actions{border-top:1px solid #ffffff14;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.profile-btn{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:10px 20px;transition:opacity .2s}.profile-btn:disabled{cursor:not-allowed;opacity:.6}.profile-btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.profile-btn-cancel{background:#ffffff1a;color:#ffffffe6}@media (max-width:768px){.profile-cover{height:180px}.profile-card{margin-top:-60px;padding:0 16px 24px}.profile-name{font-size:1.4rem}}.chat-widget-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;bottom:24px;box-shadow:0 4px 20px #667eea66;color:#fff;cursor:pointer;display:flex;height:56px;justify-content:center;position:fixed;right:24px;transition:transform .2s,box-shadow .2s;width:56px;z-index:999}.chat-widget-btn:hover{box-shadow:0 6px 24px #667eea80;transform:scale(1.05)}.chat-widget-badge{align-items:center;background:#ef4444;border-radius:10px;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:20px;justify-content:center;min-width:20px;padding:0 6px;position:absolute;right:-4px;top:-4px}.chat-widget-popup{background:#1e1f23;border:1px solid #ffffff1a;border-radius:16px;bottom:90px;box-shadow:0 16px 48px #00000080;display:flex;flex-direction:column;height:520px;max-height:calc(100vh - 120px);max-width:calc(100vw - 48px);overflow:hidden;position:fixed;right:24px;width:380px;z-index:998}.chat-widget-header{align-items:center;border-bottom:1px solid #ffffff14;display:flex;justify-content:space-between;padding:16px}.chat-widget-header h3{color:#fff;font-size:1.1rem;font-weight:600;margin:0}.chat-widget-close{background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.25rem;height:32px;line-height:1;width:32px}.chat-widget-body{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.chat-list{flex:1 1;overflow-y:auto}.chat-empty{color:#ffffff80;padding:2rem;text-align:center}.chat-list-item{align-items:center;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background .2s}.chat-list-item:hover{background:#ffffff0d}.chat-list-avatar-wrap{position:relative}.chat-list-avatar{align-items:center;background:#667eea4d;border-radius:50%;color:#fff;display:flex;font-weight:600;height:44px;justify-content:center;overflow:hidden;width:44px}.chat-list-avatar-group{background:#764ba266;font-size:1.25rem}.chat-list-avatar-img{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;width:100%}.chat-online-dot{background:#22c55e;border:2px solid #1e1f23;border-radius:50%;bottom:2px;height:10px;position:absolute;right:2px;width:10px}.chat-list-info{flex:1 1;min-width:0}.chat-list-name{color:#fff;display:block;font-weight:600}.chat-list-preview{color:#ffffff80;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-messages-wrap{display:flex;flex-direction:column;height:100%}.chat-messages-header{border-bottom:1px solid #ffffff14;color:#667eea;cursor:pointer;font-size:.9rem;padding:12px 16px}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:12px;overflow-y:auto;padding:16px}.chat-msg{align-items:flex-start;display:flex;gap:10px}.chat-msg.own{flex-direction:row-reverse}.chat-msg.own .chat-msg-body{align-items:flex-end}.chat-msg-avatar{align-items:center;background:#667eea4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:.9rem;font-weight:600;height:36px;justify-content:center;overflow:hidden;width:36px}.chat-msg-avatar:hover{opacity:.9}.chat-msg-avatar-img{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;width:100%}.chat-msg-body{display:flex;flex-direction:column;gap:4px;max-width:75%}.chat-msg-name{color:#fff9;font-size:.8rem}.chat-msg-body p{background:#ffffff14;border-radius:12px;color:#fff;font-size:.95rem;margin:0;padding:8px 12px}.chat-msg.own .chat-msg-body p{background:#667eea4d}.chat-msg-att img{max-height:150px}.chat-msg-att img,.chat-msg-att video{border-radius:8px;max-width:200px}.chat-msg-att a{color:#667eea;font-size:.9rem}.chat-msg-time{color:#fff6;font-size:.75rem}.chat-input-wrap{border-top:1px solid #ffffff14;display:flex;gap:8px;padding:12px 16px}.chat-attach-btn{background:#ffffff14;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1.2rem;height:40px;width:40px}.chat-input{background:#ffffff0f;border:1px solid #ffffff26;border-radius:10px;color:#fff;flex:1 1;font-size:.95rem;padding:10px 14px}.chat-send-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;color:#fff;cursor:pointer;font-weight:600;padding:10px 16px}.chat-send-btn:disabled{cursor:not-allowed;opacity:.6}.login-page{align-items:center;background:linear-gradient(135deg,#0a0a0a,#1a1a1a);display:flex;justify-content:center;min-height:100vh;padding:2rem;position:relative}.login-page:before{background:radial-gradient(circle at 20% 50%,#667eea1f 0,#0000 50%),radial-gradient(circle at 80% 80%,#764ba21f 0,#0000 50%);content:"";inset:0;pointer-events:none;position:absolute}.login-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0a;border:1px solid #ffffff1a;border-radius:20px;box-shadow:0 24px 48px #0000004d;max-width:400px;padding:2.5rem;position:relative;width:100%;z-index:1}.login-header{margin-bottom:2rem;text-align:center}.login-logo{height:56px;margin-bottom:1rem;object-fit:contain;width:56px}.login-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:1.75rem;font-weight:700;margin:0 0 .5rem}.login-header p{color:#fff9;font-size:.95rem;margin:0}.login-form .form-group{margin-bottom:1.25rem}.login-form label{color:#fffc;display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.login-form input{background:#ffffff0f;border:1px solid #ffffff26;border-radius:12px;color:#fff;font-size:1rem;padding:.85rem 1rem;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.login-form input::placeholder{color:#ffffff59}.login-form input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33;outline:none}.login-submit{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 20px #667eea59;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:.5rem;padding:.9rem 1.5rem;transition:box-shadow .2s ease,opacity .2s ease;width:100%}.login-submit:hover:not(:disabled){box-shadow:0 6px 28px #667eea73}.login-submit:disabled{cursor:not-allowed;opacity:.8}
/*# sourceMappingURL=main.9e5dd854.css.map*/