@import"https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap";.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px}.auth-box{background:#fff;padding:100px 40px;border-radius:10px;width:100%;max-width:440px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.auth-box h1{font-size:24px;font-weight:600;color:#000;margin-bottom:8px;text-align:center}.auth-box .subtitle{font-size:14px;text-align:center;margin-bottom:32px;color:#000}.auth-box .form-group{margin-bottom:32px}.auth-box .form-group input{width:100%;padding:16px;border:1px solid #000000;border-radius:16px;background-color:#fff;font-size:14px;color:#000;transition:all .2s;height:52px}.auth-box .form-group input::placeholder{color:#000;opacity:.7}.auth-box .form-group input:focus{outline:none!important;border:2px solid #000000!important}.auth-box .password-input{position:relative}.auth-box .password-input .eye-button{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000}.auth-box .auth-button{width:100%;padding:13px;border:2px solid #000000;border-radius:16px;background:#000;color:#fff;font-family:Roboto,sans-serif;font-weight:500;font-size:18px;line-height:29.12px;text-align:center;vertical-align:middle;cursor:pointer;transition:all .2s;margin-top:24px}.auth-box .auth-button:hover{background:#fff;color:#000}.auth-box .auth-button:disabled{opacity:.7;cursor:not-allowed}.auth-box .error-message{color:#000;font-size:14px;margin:8px 0;text-align:center}.auth-box .auth-prompt{margin-top:24px;text-align:center;font-size:14px;color:#000}.auth-box .auth-prompt span{margin-right:4px}.auth-box .auth-prompt button{background:none;border:none;padding:0;color:#000;font-weight:500;cursor:pointer;text-decoration:none}.auth-box .auth-prompt button:hover{text-decoration:underline}.auth-box .forgot-password{text-align:center;margin-bottom:40px}.auth-box .forgot-password button{background:none;border:none;padding:0;color:#000;font-size:14px;cursor:pointer;text-decoration:none}.auth-box .forgot-password button:hover{text-decoration:underline}.dashboard{margin:0 auto;background:#181c2ff2;border-radius:32px;padding:32px;box-shadow:0 8px 40px #38cfff2e,0 1.5px 8px #a259ff1a,inset 0 1.5px 16px #ffffff1a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:relative;z-index:2;overflow:hidden;width:100%;box-sizing:border-box;max-width:100%;color:#fff}.dashboard:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border-radius:32px;padding:2px;background:#181c2f;-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.dashboard>*{position:relative;z-index:2}@media screen and (max-width: 768px){.dashboard{padding:20px;border-radius:20px;width:100%}.dashboard:before{border-radius:20px}}@media screen and (max-width: 480px){.dashboard{padding:12px;border-radius:12px;width:100%}.dashboard:before{border-radius:12px}}.dashboard .dashboard-header{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:32px}.dashboard .dashboard-header h1{font-size:2.2rem;font-weight:700;margin:0 0 6px;color:#f4f6fb;letter-spacing:-1px;text-shadow:0 2px 16px rgba(162,89,255,.15)}.dashboard .dashboard-header p{font-size:1.15rem;color:#bfc9da;margin:0 0 0 2px;font-weight:400}.dashboard h2{margin:40px 0 20px;font-size:20px;font-weight:500;color:#a259ff;background:linear-gradient(135deg,#a259ff,#38cfff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;letter-spacing:.5px;text-shadow:0 2px 16px rgba(56,207,255,.1)}@media screen and (max-width: 768px){.dashboard h2{margin:30px 0 16px;font-size:18px}}@media screen and (max-width: 480px){.dashboard h2{margin:24px 0 12px;font-size:16px}}.dashboard .dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:30px;width:100%;max-width:100%}@media screen and (max-width: 768px){.dashboard .dashboard-grid{grid-template-columns:repeat(2,1fr);gap:15px;margin-bottom:20px}}@media screen and (max-width: 480px){.dashboard .dashboard-grid{grid-template-columns:1fr;gap:12px;margin-bottom:16px}}.dashboard .dashboard-card{padding:24px;border-radius:20px;background:linear-gradient(135deg,#23284a 60%,#2e335a);border:1px solid #23284a;box-shadow:0 4px 24px #38cfff14;color:#f4f6fb;position:relative;overflow:hidden;transition:box-shadow .2s,transform .2s;cursor:pointer}.dashboard .dashboard-card:hover{box-shadow:0 8px 32px #a259ff2e,0 1.5px 8px #38cfff1a;transform:translateY(-2px) scale(1.02);border:1px solid #a259ff}@media screen and (max-width: 768px){.dashboard .dashboard-card{padding:16px;border-radius:14px}}@media screen and (max-width: 480px){.dashboard .dashboard-card{padding:10px;border-radius:8px}}.dashboard .dashboard-card h3{margin:0 0 10px;color:#38cfff;font-size:16px;font-weight:400;letter-spacing:.2px;text-shadow:0 2px 8px rgba(56,207,255,.1)}@media screen and (max-width: 480px){.dashboard .dashboard-card h3{font-size:14px;margin-bottom:8px}}.dashboard .dashboard-card .dashboard-stat{margin:0;font-size:28px;font-weight:600;color:#ff6bcb;text-shadow:0 2px 12px rgba(255,107,203,.1)}@media screen and (max-width: 768px){.dashboard .dashboard-card .dashboard-stat{font-size:22px}}@media screen and (max-width: 480px){.dashboard .dashboard-card .dashboard-stat{font-size:18px}}.dashboard .projects-section .projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;width:100%;max-width:100%}@media screen and (max-width: 768px){.dashboard .projects-section .projects-grid{grid-template-columns:repeat(2,1fr);gap:15px}}@media screen and (max-width: 480px){.dashboard .projects-section .projects-grid{grid-template-columns:1fr;gap:12px}}.dashboard .projects-section .project-card{padding:20px;background:#effbfa;border-radius:16px;cursor:pointer;border:1px solid #C8CDD6;box-shadow:none}@media screen and (max-width: 768px){.dashboard .projects-section .project-card{padding:16px;border-radius:12px}}@media screen and (max-width: 480px){.dashboard .projects-section .project-card{padding:12px;border-radius:8px}}.dashboard .projects-section .project-card .project-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .project-header{margin-bottom:8px}}.dashboard .projects-section .project-card .project-header h3{margin:0;color:#232323;font-size:18px;font-weight:500}@media screen and (max-width: 768px){.dashboard .projects-section .project-card .project-header h3{font-size:16px}}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .project-header h3{font-size:14px}}.dashboard .projects-section .project-card .MuiChip-root{height:24px;font-size:12px;font-weight:500}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .MuiChip-root{height:20px;font-size:10px}}.dashboard .projects-section .project-card .MuiLinearProgress-root{margin:10px 0;height:8px;border-radius:4px;background-color:#eaecf0}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .MuiLinearProgress-root{margin:8px 0;height:6px}}.dashboard .projects-section .project-card .MuiLinearProgress-root .MuiLinearProgress-bar{border-radius:4px}.dashboard .projects-section .project-card .MuiTypography-body2{color:#4b5764;font-size:14px}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .MuiTypography-body2{font-size:12px}}.dashboard .projects-section .project-card .MuiTypography-caption{color:#c8cdd6;font-size:12px}@media screen and (max-width: 480px){.dashboard .projects-section .project-card .MuiTypography-caption{font-size:10px}}.dashboard .dashboard-map{position:relative;width:100%;max-width:665px;height:425px;background:linear-gradient(135deg,#101624 60%,#23284a);overflow:hidden;display:flex;align-items:center;justify-content:center;transition:box-shadow .3s,border-color .3s;z-index:1}.dashboard .dashboard-map:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:28px;pointer-events:none}.dashboard .dashboard-map>*{position:relative;z-index:3}.dashboard .dashboard-map:hover{box-shadow:0 12px 48px #a259ff38,0 2px 12px #38cfff29}@media screen and (max-width: 1024px){.dashboard .dashboard-map{height:350px;margin:30px auto;border-radius:18px;overflow:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.dashboard .dashboard-map:before{border-radius:18px}.dashboard .dashboard-map::-webkit-scrollbar{width:6px;height:6px}.dashboard .dashboard-map::-webkit-scrollbar-track{background:#ffffff1a;border-radius:3px}.dashboard .dashboard-map::-webkit-scrollbar-thumb{background:#38cfff80;border-radius:3px}.dashboard .dashboard-map::-webkit-scrollbar-thumb:hover{background:#38cfffb3}}@media screen and (max-width: 480px){.dashboard .dashboard-map{height:300px;margin:24px auto;border-radius:12px}.dashboard .dashboard-map:before{border-radius:12px}}.dashboard .dashboard-room{position:absolute;background:transparent;border:2.5px solid rgba(56,207,255,.7);box-shadow:0 0 16px 2px #38cfff2e;color:#b2f2ff;transition:box-shadow .3s,border-color .3s,transform .2s;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);padding:20px;overflow:hidden;cursor:pointer}.dashboard .dashboard-room .dashboard-room-title{text-align:center;font-size:16px;font-weight:500;color:#b2f2ff;margin-bottom:8px;text-shadow:0 0 8px #38cfff,0 0 16px #38cfff}@media screen and (max-width: 768px){.dashboard .dashboard-room .dashboard-room-title{font-size:14px;margin-bottom:6px}}@media screen and (max-width: 480px){.dashboard .dashboard-room .dashboard-room-title{font-size:12px;margin-bottom:4px}}.dashboard .dashboard-room .dashboard-room-sub{font-size:14px;color:#bfc9da;margin-bottom:16px}@media screen and (max-width: 768px){.dashboard .dashboard-room .dashboard-room-sub{font-size:12px;margin-bottom:12px}}@media screen and (max-width: 480px){.dashboard .dashboard-room .dashboard-room-sub{font-size:11px;margin-bottom:8px}}.dashboard .dashboard-room .dashboard-room-door{position:absolute;background:#a259ff;z-index:1;opacity:.7}.dashboard .dashboard-room .door-top,.dashboard .dashboard-room .door-bottom{width:4px;height:20px;left:50%;transform:translate(-50%)}.dashboard .dashboard-room .door-top{top:-2px}.dashboard .dashboard-room .door-bottom{bottom:-2px}.dashboard .dashboard-room .door-left,.dashboard .dashboard-room .door-right{width:20px;height:4px;top:50%;transform:translateY(-50%)}.dashboard .dashboard-room .door-right{right:-2px}.dashboard .dashboard-room .door-left{left:-2px}.dashboard .dashboard-room:hover{box-shadow:0 0 32px 6px #38cfff,0 2px 12px #a259ff;border-color:#38cfff;transform:scale(1.03)}.dashboard .dashboard-device{position:absolute;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;box-shadow:0 0 12px 2px #38cfff;border:2px solid #38cfff;font-size:1.2rem;color:#fff}.dashboard .dashboard-device:hover{box-shadow:0 0 24px 6px #38cfff,0 2px 12px #a259ff;border-color:#a259ff;transform:scale(1.15)}@media screen and (max-width: 768px){.dashboard .dashboard-device{width:20px;height:20px}}@media screen and (max-width: 480px){.dashboard .dashboard-device{width:18px;height:18px}}.room-temp{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:2.5rem;color:#b2f2ff;text-shadow:0 0 12px #38cfff,0 0 24px #38cfff;font-weight:700;pointer-events:none}.dashboard-legend{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:40px auto 0;width:100%;max-width:900px;font-size:1.08rem}.dashboard-legend .legend-row{display:flex;gap:24px;flex-wrap:wrap;align-items:center;justify-content:center}.dashboard-legend>div:first-child{font-weight:600;font-size:1.13rem;margin-bottom:8px}.dashboard-tabs-section{width:340px;flex-shrink:0;border-radius:16px;background:#181c2ff2;border:1px solid rgba(56,207,255,.2);box-shadow:0 8px 32px #38cfff1f;overflow:hidden;height:425px;display:flex;flex-direction:column;padding:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;color:#fff}.dashboard-tabs-section:hover{border-color:#38cfff66;box-shadow:0 12px 40px #38cfff2e}.dashboard-tabs-section .tabs-header{display:flex;justify-content:space-between;padding:8px 8px 0;gap:4px;border-bottom:1px solid rgba(56,207,255,.15);background:#181c2fcc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dashboard-tabs-section .tabs-header button{background:none;border:none;font-size:15px;font-weight:500;color:#bfc9da;padding:10px 16px;cursor:pointer;border-radius:12px 12px 0 0;transition:all .3s ease;position:relative;overflow:hidden}.dashboard-tabs-section .tabs-header button:before{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:2px;background:linear-gradient(90deg,#38cfff,#a259ff);transition:width .3s ease}.dashboard-tabs-section .tabs-header button:hover{color:#fff;background:#38cfff1a}.dashboard-tabs-section .tabs-header button.active{color:#fff;background:#38cfff26;box-shadow:0 2px 8px #38cfff33}.dashboard-tabs-section .tabs-header button.active:before{width:80%}.dashboard-tabs-section .tabs-content{flex:1;overflow-y:auto;padding:16px;background:#181c2f80;color:#fff}.dashboard-tabs-section .tabs-content::-webkit-scrollbar{width:4px}.dashboard-tabs-section .tabs-content::-webkit-scrollbar-track{background:#38cfff0d;border-radius:2px}.dashboard-tabs-section .tabs-content::-webkit-scrollbar-thumb{background:#38cfff4d;border-radius:2px}.dashboard-tabs-section .tabs-content::-webkit-scrollbar-thumb:hover{background:#38cfff80}.dashboard-tabs-section .notifications-section,.dashboard-tabs-section .media-section,.dashboard-tabs-section .climate-section{background:#23284ab8;text-align:center;border-radius:14px;box-shadow:0 4px 16px #38cfff14;padding:20px 16px;margin-bottom:12px;border:1px solid rgba(56,207,255,.15);min-height:120px;display:flex;flex-direction:column;transition:all .3s ease;color:#fff}.dashboard-tabs-section .notifications-section h2,.dashboard-tabs-section .media-section h2,.dashboard-tabs-section .climate-section h2{font-size:18px;font-weight:600;margin-bottom:8px;margin-top:0;color:#e0e6f7;background:linear-gradient(90deg,#38cfff,#a259ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent}.dashboard-tabs-section .notifications-section p,.dashboard-tabs-section .media-section p,.dashboard-tabs-section .climate-section p{font-size:14px;color:#bfc9da;margin-bottom:12px;margin-top:0;line-height:1.5}.dashboard-tabs-section .notifications-section .notifications-header .notifications-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;align-items:center}.dashboard-tabs-section .notifications-section .notifications-header .notifications-actions .btn{background:#38cfff1a;border:1px solid rgba(56,207,255,.2);border-radius:8px;padding:8px 16px;font-size:14px;color:#e0e6f7;font-weight:500;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #38cfff14}.dashboard-tabs-section .notifications-section .notifications-header .notifications-actions .btn:hover,.dashboard-tabs-section .notifications-section .notifications-header .notifications-actions .btn:focus{background:#38cfff33;color:#fff;border-color:#38cfff4d;box-shadow:0 4px 12px #38cfff26;transform:translateY(-1px)}.dashboard-tabs-section .climate-section .climate-room-select{width:100%;padding:10px 12px;border-radius:8px;border:1px solid rgba(56,207,255,.2);font-size:14px;background:#181c2fcc;color:#fff;margin-bottom:12px;height:40px;transition:all .3s ease}.dashboard-tabs-section .climate-section .climate-room-select option{background:#181c2ff2;color:#fff}.dashboard-tabs-section .climate-section .climate-room-select:focus{border-color:#38cfff66;box-shadow:0 0 0 2px #38cfff1a;outline:none}.dashboard-tabs-section .climate-section .climate-modes{gap:20px;margin-bottom:16px}.dashboard-tabs-section .climate-section .climate-modes .climate-mode-tab{font-size:15px;padding:6px 0;color:#bfc9da;transition:all .3s ease}.dashboard-tabs-section .climate-section .climate-modes .climate-mode-tab.active{color:#fff;font-weight:600}.dashboard-tabs-section .climate-section .climate-modes .climate-mode-tab:hover{color:#fff}.dashboard-tabs-section .climate-section .climate-main{margin:16px 0}.dashboard-tabs-section .climate-section .climate-main .climate-indicator-circle{width:120px;height:120px;border-width:4px;border-color:#38cfff4d;background:#181c2fcc;box-shadow:0 4px 16px #38cfff1a;transition:all .3s ease}.dashboard-tabs-section .climate-section .climate-main .climate-indicator-circle:hover{border-color:#38cfff80;box-shadow:0 6px 20px #38cfff26}.dashboard-tabs-section .climate-section .climate-main .climate-indicator-value{font-size:2rem;font-weight:700;color:#fff;text-shadow:0 2px 8px rgba(56,207,255,.2)}.dashboard-tabs-section .climate-section .climate-slider-row{margin-bottom:16px}.dashboard-tabs-section .climate-section .climate-slider-row span{font-size:14px;color:#bfc9da}.dashboard-tabs-section .climate-section .climate-slider-row input[type=range]{-webkit-appearance:none;width:100%;height:4px;background:#38cfff33;border-radius:2px;outline:none}.dashboard-tabs-section .climate-section .climate-slider-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#fff;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #38cfff4d;transition:all .3s ease}.dashboard-tabs-section .climate-section .climate-slider-row input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #38cfff66}.dashboard-tabs-section .climate-section .climate-apply-btn{width:100%;background:linear-gradient(90deg,#38cfff,#a259ff);color:#fff;font-size:15px;font-weight:500;border:none;border-radius:8px;padding:12px 0;margin-top:20px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #38cfff33}.dashboard-tabs-section .climate-section .climate-apply-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #38cfff4d}.dashboard-tabs-section .climate-section .climate-apply-btn:active{transform:translateY(0)}.empty{color:#bfc9da;background:#23284ab3;border-radius:10px;padding:18px;text-align:center}.media-section,.climate-section{background:#181c2ff2;color:#fff}.media-section .media-tabs{display:flex;gap:24px;border-bottom:1px solid rgba(56,207,255,.2);padding-bottom:8px;margin-bottom:24px}@media screen and (max-width: 768px){.media-section .media-tabs{gap:16px;margin-bottom:20px}}@media screen and (max-width: 480px){.media-section .media-tabs{gap:12px;margin-bottom:16px}}.media-section .media-tabs .media-tab{background:none;border:none;font-size:18px;font-weight:500;color:#bfc9da;padding:8px 0;cursor:pointer;transition:color .2s;position:relative}.media-section .media-tabs .media-tab:after{content:"";position:absolute;bottom:-9px;left:0;width:100%;height:2px;background:transparent;transition:background .2s}.media-section .media-tabs .media-tab.active{color:#fff;font-weight:600}.media-section .media-tabs .media-tab.active:after{background:#38cfff}@media screen and (max-width: 768px){.media-section .media-tabs .media-tab{font-size:16px}}@media screen and (max-width: 480px){.media-section .media-tabs .media-tab{font-size:15px}}.media-section .media-player{display:flex;flex-direction:column;align-items:center;padding:24px 0 0;background:#181c2f80}.media-section .media-player .media-cover{margin-bottom:18px}.media-section .media-player .media-cover .media-cover-placeholder{width:180px;height:180px;background:#38cfff1a;border-radius:12px}.media-section .media-player .media-cover img{width:180px;height:180px;object-fit:cover;border-radius:12px}@media screen and (max-width: 768px){.media-section .media-player .media-cover .media-cover-placeholder,.media-section .media-player .media-cover img{width:150px;height:150px}}@media screen and (max-width: 480px){.media-section .media-player .media-cover .media-cover-placeholder,.media-section .media-player .media-cover img{width:120px;height:120px}}.media-section .media-player .media-info{text-align:center;margin-bottom:18px}.media-section .media-player .media-info .media-title{font-size:1.3rem;font-weight:600;margin-bottom:2px;color:#fff}@media screen and (max-width: 768px){.media-section .media-player .media-info .media-title{font-size:1.1rem}}.media-section .media-player .media-info .media-artist{color:#bfc9da;font-size:1.05rem}@media screen and (max-width: 768px){.media-section .media-player .media-info .media-artist{font-size:.95rem}}.media-section .media-player .media-progress{display:flex;align-items:center;width:80%;max-width:600px;margin:0 auto 18px}.media-section .media-player .media-progress span{font-size:.98rem;color:#bfc9da;min-width:40px}.media-section .media-player .media-progress input[type=range]{flex:1;margin:0 12px;accent-color:#38cfff;height:4px;background:#38cfff33;border-radius:2px;-webkit-appearance:none}.media-section .media-player .media-progress input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#fff;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #38cfff4d;transition:all .3s ease}.media-section .media-player .media-progress input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #38cfff66}.media-section .media-player .media-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:18px}.media-section .media-player .media-controls .media-btn{background:#38cfff1a;border:1.5px solid rgba(56,207,255,.2);border-radius:50%;width:44px;height:44px;font-size:1.3rem;color:#fff;cursor:pointer;transition:all .3s ease}.media-section .media-player .media-controls .media-btn.play{background:#38cfff33;color:#fff;border:none;width:54px;height:54px;font-size:1.6rem}.media-section .media-player .media-controls .media-btn:hover{background:#38cfff33;border-color:#38cfff66;transform:translateY(-2px)}@media screen and (max-width: 768px){.media-section .media-player .media-controls .media-btn{width:40px;height:40px;font-size:1.1rem}.media-section .media-player .media-controls .media-btn.play{width:48px;height:48px;font-size:1.4rem}}@media screen and (max-width: 480px){.media-section .media-player .media-controls .media-btn{width:36px;height:36px;font-size:1rem}.media-section .media-player .media-controls .media-btn.play{width:44px;height:44px;font-size:1.2rem}}.media-section .media-player .media-volume{display:flex;align-items:center;width:80%;max-width:600px;margin:0 auto}.media-section .media-player .media-volume span{font-size:1.2rem;margin-right:10px;color:#bfc9da}.media-section .media-player .media-volume input[type=range]{flex:1;accent-color:#38cfff;height:4px;background:#38cfff33;border-radius:2px;-webkit-appearance:none}.media-section .media-player .media-volume input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#fff;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #38cfff4d;transition:all .3s ease}.media-section .media-player .media-volume input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #38cfff66}.climate-section .climate-modes{display:flex;gap:24px;border-bottom:1px solid rgba(56,207,255,.2);padding-bottom:8px;margin-bottom:24px}@media screen and (max-width: 768px){.climate-section .climate-modes{gap:16px;margin-bottom:20px}}@media screen and (max-width: 480px){.climate-section .climate-modes{gap:12px;margin-bottom:16px}}.climate-section .climate-modes .climate-mode-tab{background:none;border:none;font-size:18px;font-weight:500;color:#bfc9da;padding:8px 0;cursor:pointer;transition:color .2s;position:relative;display:flex;align-items:center;gap:8px}.climate-section .climate-modes .climate-mode-tab:after{content:"";position:absolute;bottom:-9px;left:0;width:100%;height:2px;background:transparent;transition:background .2s}.climate-section .climate-modes .climate-mode-tab.active{color:#fff;font-weight:600}.climate-section .climate-modes .climate-mode-tab.active:after{background:#38cfff}@media screen and (max-width: 768px){.climate-section .climate-modes .climate-mode-tab{font-size:16px}}@media screen and (max-width: 480px){.climate-section .climate-modes .climate-mode-tab{font-size:15px}}.climate-section .climate-room{margin-bottom:24px}.climate-section .climate-room .climate-room-label{font-size:16px;font-weight:500;color:#fff;margin-bottom:8px}@media screen and (max-width: 768px){.climate-section .climate-room .climate-room-label{font-size:15px}}.climate-section .climate-room .climate-room-select{width:100%;padding:10px 14px;border-radius:8px;border:1px solid rgba(56,207,255,.2);font-size:15px;background:#181c2fcc;color:#fff}.climate-section .climate-room .climate-room-select option{background:#181c2ff2;color:#fff}@media screen and (max-width: 768px){.climate-section .climate-room .climate-room-select{padding:8px 12px;font-size:14px}}.climate-section .climate-main{display:flex;flex-direction:column;align-items:center;margin-top:24px;margin-bottom:24px;background:#181c2f80;padding:20px;border-radius:12px}.climate-section .climate-main .climate-indicator{margin-bottom:24px}.climate-section .climate-main .climate-indicator .climate-indicator-circle{width:160px;height:160px;border-radius:50%;border:8px solid rgba(56,207,255,.3);display:flex;align-items:center;justify-content:center;margin:0 auto;background:#181c2fcc}@media screen and (max-width: 768px){.climate-section .climate-main .climate-indicator .climate-indicator-circle{width:140px;height:140px;border-width:6px}}@media screen and (max-width: 480px){.climate-section .climate-main .climate-indicator .climate-indicator-circle{width:120px;height:120px;border-width:5px}}.climate-section .climate-main .climate-indicator .climate-indicator-value{font-size:2.4rem;font-weight:700;color:#fff}@media screen and (max-width: 768px){.climate-section .climate-main .climate-indicator .climate-indicator-value{font-size:2rem}}@media screen and (max-width: 480px){.climate-section .climate-main .climate-indicator .climate-indicator-value{font-size:1.8rem}}.climate-section .climate-main .climate-slider-row{display:flex;align-items:center;width:80%;max-width:600px;margin:0 auto 24px}.climate-section .climate-main .climate-slider-row span{font-size:1.08rem;color:#bfc9da;min-width:40px}@media screen and (max-width: 768px){.climate-section .climate-main .climate-slider-row span{font-size:1rem}}.climate-section .climate-main .climate-slider-row input[type=range]{flex:1;margin:0 12px;accent-color:#38cfff;height:4px;background:#38cfff33;border-radius:2px;-webkit-appearance:none}.climate-section .climate-main .climate-slider-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#fff;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px #38cfff4d;transition:all .3s ease}.climate-section .climate-main .climate-slider-row input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #38cfff66}.climate-section .climate-main .climate-toggles{display:flex;gap:32px;margin-top:12px}@media screen and (max-width: 768px){.climate-section .climate-main .climate-toggles{gap:24px}}@media screen and (max-width: 480px){.climate-section .climate-main .climate-toggles{flex-direction:column;gap:16px;width:100%;padding:0 20px}}.climate-section .climate-main .climate-toggles .climate-toggle{display:flex;align-items:center;font-size:1.08rem;font-weight:500;cursor:pointer;color:#bfc9da}@media screen and (max-width: 768px){.climate-section .climate-main .climate-toggles .climate-toggle{font-size:1rem}}.climate-section .climate-main .climate-toggles .climate-toggle input[type=checkbox]{display:none}.climate-section .climate-main .climate-toggles .climate-toggle .slider{width:38px;height:22px;background:#38cfff1a;border-radius:12px;margin-right:8px;position:relative;transition:background .2s;display:inline-block;vertical-align:middle}@media screen and (max-width: 480px){.climate-section .climate-main .climate-toggles .climate-toggle .slider{width:34px;height:20px}}.climate-section .climate-main .climate-toggles .climate-toggle input[type=checkbox]:checked+.slider{background:#38cfff4d}.climate-section .climate-main .climate-toggles .climate-toggle .slider:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;background:#fff;border-radius:50%;transition:left .2s}@media screen and (max-width: 480px){.climate-section .climate-main .climate-toggles .climate-toggle .slider:after{width:14px;height:14px}}.climate-section .climate-main .climate-toggles .climate-toggle input[type=checkbox]:checked+.slider:after{left:19px}@media screen and (max-width: 480px){.climate-section .climate-main .climate-toggles .climate-toggle input[type=checkbox]:checked+.slider:after{left:17px}}.climate-section .climate-apply-btn{width:100%;background:linear-gradient(90deg,#38cfff,#a259ff);color:#fff;font-size:1.15rem;font-weight:500;border:none;border-radius:8px;padding:14px 0;margin-top:24px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #38cfff33}.climate-section .climate-apply-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #38cfff4d}.climate-section .climate-apply-btn:active{transform:translateY(0)}@media screen and (max-width: 768px){.climate-section .climate-apply-btn{font-size:1.1rem;padding:12px 0}}@media screen and (max-width: 480px){.climate-section .climate-apply-btn{font-size:1rem;padding:10px 0}}@media screen and (max-width: 1024px){.dashboard-map{width:100%;height:400px}}@media screen and (max-width: 768px){.dashboard-map{height:350px;margin:30px auto}}@media screen and (max-width: 480px){.dashboard-map{height:300px;margin:24px auto}}@media screen and (max-width: 768px){.dashboard-room{transform:scale(.9)}}@media screen and (max-width: 480px){.dashboard-room{transform:scale(.8)}}.dashboard-map-row{display:flex;gap:24px;align-items:center;justify-content:space-between}@media screen and (max-width: 1400px){.dashboard-map-row{flex-direction:column}}.notification-card{background:#181c2ff2;border-radius:12px;box-shadow:0 2px 12px #a259ff1a;padding:12px 14px 10px;margin-bottom:12px;border-left:4px solid #a259ff;display:flex;align-items:flex-start;gap:10px;color:#fff;transition:box-shadow .2s,border-color .2s}.notification-card .notification-content{flex:1}.notification-card .notification-content .notification-title{font-size:15px;font-weight:700;color:#38cfff;margin-bottom:4px;background:linear-gradient(90deg,#a259ff,#38cfff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent}.notification-card .notification-content .notification-message{font-size:14px;color:#bfc9da;margin-bottom:2px}.notification-card .notification-delete{background:none;border:none;padding:4px;cursor:pointer;color:#ff6bcb;font-size:18px;border-radius:50%;transition:background .2s,color .2s}.notification-card .notification-delete:hover{background:#a259ff1a;color:#a259ff}.notification-card:hover{box-shadow:0 4px 24px #a259ff2e;border-left:4px solid #38cfff}.tab-container{display:flex;gap:16px;width:fit-content;margin-bottom:24px}.tab{padding:12px 32px;background:none;border:none;font-size:16px;font-weight:500;color:#232323;cursor:pointer;border-radius:100px;transition:all .2s ease}.tab:hover{background:#98f9d380}.tab.active{background:#98f9d3}.rooms-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}.rooms-page .rooms-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.rooms-page .rooms-header h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}.rooms-page .rooms-header .add-room-btn{padding:14px 32px;font-size:18px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;cursor:pointer;box-shadow:0 2px 12px #38cfff1a;transition:all .3s ease;position:relative;overflow:hidden}.rooms-page .rooms-header .add-room-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease}.rooms-page .rooms-header .add-room-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.rooms-page .rooms-header .add-room-btn:hover:before{opacity:1}.rooms-page .rooms-header .add-room-btn:active{transform:translateY(0)}.rooms-page .rooms-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}.rooms-page .room-card{background:#23284a80;border-radius:16px;border:1px solid rgba(56,207,255,.1);box-shadow:0 2px 8px #38cfff0d;padding:28px;min-width:300px;color:#f4f6fb;position:relative;display:flex;flex-direction:column;margin-bottom:24px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.rooms-page .room-card:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a;border-color:#38cfff33}.rooms-page .room-card:active{transform:translateY(0)}.rooms-page .room-card .room-card-header{display:flex;align-items:center;margin-bottom:8px}.rooms-page .room-card .room-card-header .room-title{font-size:28px;font-weight:700;margin-right:8px;color:#f4f6fb;text-shadow:none}.rooms-page .room-card .room-card-header .room-alert{background:#ff6bcb;color:#fff;border-radius:8px;padding:2px 12px;font-size:15px;font-weight:600;margin-left:8px;box-shadow:0 0 8px 2px #ff6bcb4d;transition:all .3s ease}.rooms-page .room-card .room-card-header .room-alert:hover{transform:translateY(-2px);box-shadow:0 0 12px 4px #ff6bcb66}.rooms-page .room-card .room-card-header .room-alert:active{transform:translateY(0)}.rooms-page .room-card .room-devices-count{color:#bfc9da;font-size:16px;margin-bottom:16px;transition:all .3s ease}.rooms-page .room-card .room-devices-count:hover{color:#f4f6fb}.rooms-page .room-card .room-info-row{display:flex;gap:24px;font-size:18px;margin-bottom:10px}.rooms-page .room-card .room-info-row span{display:flex;align-items:center;gap:6px;color:#f4f6fb;transition:all .3s ease}.rooms-page .room-card .room-info-row span:hover{color:#38cfff;transform:translateY(-1px)}.rooms-page .room-card .room-info-row span:active{transform:translateY(0)}.rooms-page .room-card .room-info-row-secondary{display:flex;gap:24px;font-size:16px;margin-bottom:18px}.rooms-page .room-card .room-info-row-secondary span{display:flex;align-items:center;gap:6px;color:#bfc9da;transition:all .3s ease}.rooms-page .room-card .room-info-row-secondary span:hover{color:#f4f6fb;transform:translateY(-1px)}.rooms-page .room-card .room-info-row-secondary span:active{transform:translateY(0)}.rooms-page .room-card .view-details-btn{width:100%;padding:14px 0;font-size:18px;font-weight:600;border-radius:10px;background:#23284a80;color:#f4f6fb;border:1.5px solid #38cfff;cursor:pointer;margin-top:8px;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:relative;overflow:hidden}.rooms-page .room-card .view-details-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff,#38cfff);opacity:0;transition:opacity .3s ease;z-index:-1}.rooms-page .room-card .view-details-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.rooms-page .room-card .view-details-btn:hover:before{opacity:.1}.rooms-page .room-card .view-details-btn:active{transform:translateY(0)}@media (max-width: 700px){.rooms-page{padding:20px;border-radius:12px}}@media screen and (max-width: 700px) and (max-width: 768px){.rooms-page{margin-bottom:24px;text-align:center}}@media screen and (max-width: 700px) and (max-width: 480px){.rooms-page{margin-bottom:20px}}@media (max-width: 700px) and (max-width: 700px){.rooms-page{width:100%;flex-direction:column;align-items:stretch;gap:16px}}@media (max-width: 700px){.rooms-page .rooms-header{width:100%;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:24px}.rooms-page .rooms-header h1{font-size:28px;margin-bottom:0}.rooms-page .add-room-btn{width:100%;display:block;font-size:16px;padding:12px 0}.rooms-page .rooms-list{display:block;justify-items:center}.rooms-page .room-card{min-width:0;width:100%;box-sizing:border-box;padding:20px;border-radius:12px}.rooms-page .room-card .room-card-header .room-title{font-size:24px}.rooms-page .room-card .room-card-header .room-alert{font-size:14px;padding:2px 10px}.rooms-page .room-card .room-info-row{font-size:16px;gap:16px}.rooms-page .room-card .room-info-row-secondary{font-size:14px;gap:16px}.rooms-page .room-card .view-details-btn{padding:12px 0;font-size:16px}}.room-details-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}.room-details-page .room-details-header{display:flex;align-items:flex-start;gap:18px;margin-bottom:32px}.room-details-page .room-details-header h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}.room-details-page .room-details-header .back-btn{font-size:22px;background:none;border:none;cursor:pointer;color:#38cfff;margin-right:8px;padding:0 6px 0 0;line-height:1;transition:color .2s;margin-top:12px}.room-details-page .room-details-header .back-btn:hover{color:#a259ff}.room-details-page .room-details-content{display:flex;gap:32px;align-items:flex-start}@media (max-width: 900px){.room-details-page .room-details-content{flex-direction:column;gap:24px}}.room-details-page .climate-card,.room-details-page .devices-card{background:#23284a;border:1px solid rgba(100,110,140,.18);border-radius:16px;padding:36px 32px 32px;min-width:340px;box-shadow:0 2px 8px #2c304d1a;flex:1 1 0;display:flex;flex-direction:column;min-height:340px;color:#f4f6fb}@media (max-width: 900px){.room-details-page .climate-card,.room-details-page .devices-card{min-width:100%;padding:28px 24px;min-height:auto}}@media (max-width: 480px){.room-details-page .climate-card,.room-details-page .devices-card{padding:24px 20px}}.room-details-page .climate-card{max-width:420px;margin-right:0}@media (max-width: 900px){.room-details-page .climate-card{max-width:none}}.room-details-page .climate-card h2{font-size:26px;font-weight:700;margin-bottom:6px;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none}@media (max-width: 768px){.room-details-page .climate-card h2{font-size:24px}}@media (max-width: 480px){.room-details-page .climate-card h2{font-size:22px}}.room-details-page .climate-card .climate-sub{color:#bfc9da;font-size:16px;margin-bottom:24px}.room-details-page .climate-card .climate-row{display:flex;align-items:center;justify-content:space-between;font-size:20px;font-weight:500;margin-bottom:8px}.room-details-page .climate-card .climate-row .climate-label{font-size:18px;font-weight:500}.room-details-page .climate-card .climate-row .climate-value{font-size:22px;font-weight:700}@media (max-width: 768px){.room-details-page .climate-card .climate-row{font-size:18px}.room-details-page .climate-card .climate-row .climate-label{font-size:17px}.room-details-page .climate-card .climate-row .climate-value{font-size:20px}}@media (max-width: 480px){.room-details-page .climate-card .climate-row,.room-details-page .climate-card .climate-row .climate-label{font-size:16px}.room-details-page .climate-card .climate-row .climate-value{font-size:18px}}.room-details-page .climate-card .climate-slider-wrap{margin-bottom:18px}.room-details-page .climate-card .climate-slider-wrap .climate-slider{width:100%;accent-color:#38cfff;height:6px;border-radius:4px;background:#23284a;margin-top:2px}.room-details-page .devices-card h2{font-size:26px;font-weight:700;margin-bottom:6px;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none}@media (max-width: 768px){.room-details-page .devices-card h2{font-size:24px}}@media (max-width: 480px){.room-details-page .devices-card h2{font-size:22px}}.room-details-page .devices-card .devices-sub{color:#bfc9da;font-size:16px;margin-bottom:18px}.room-details-page .devices-card .devices-tabs{display:flex;gap:0;margin-bottom:18px;background:#181c2f;border-radius:8px;overflow:hidden}.room-details-page .devices-card .devices-tabs button{flex:1 1 0;padding:12px 0;font-size:17px;font-weight:600;background:none;border:none;color:#f4f6fb;cursor:pointer;transition:background .2s,color .2s}.room-details-page .devices-card .devices-tabs button.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#181c2f;box-shadow:0 2px 8px #38cfff33}.room-details-page .devices-card .devices-tabs button:not(.active):hover{background:#38cfff;color:#181c2f}@media (max-width: 768px){.room-details-page .devices-card .devices-tabs button{font-size:16px;padding:10px 0}}@media (max-width: 480px){.room-details-page .devices-card .devices-tabs button{font-size:15px;padding:8px 0}}.room-details-page .devices-card .devices-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}@media (max-width: 768px){.room-details-page .devices-card .devices-list{grid-template-columns:1fr;gap:14px}}.room-details-page .devices-card .device-card{display:flex;align-items:center;gap:16px;background:#23284a;border:1px solid rgba(100,110,140,.18);border-radius:12px;padding:18px 20px;font-size:18px;font-weight:500;box-shadow:0 1px 4px #2c304d1a;color:#f4f6fb}.room-details-page .devices-card .device-card .device-icon{font-size:22px}.room-details-page .devices-card .device-card .device-name{flex:1 1 0;font-size:18px;font-weight:500;color:#f4f6fb}.room-details-page .devices-card .device-card .device-toggle-wrap{margin-left:12px}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle{display:inline-block;width:44px;height:24px;border-radius:12px;background:#181c2f;position:relative;transition:background .2s}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle:after{content:"";display:block;width:20px;height:20px;border-radius:50%;background:#f4f6fb;position:absolute;top:2px;left:2px;transition:left .2s;box-shadow:0 1px 4px #2c304d1a}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle.on{background:#38cfff}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle.on:after{left:22px;background:#23284a}.room-details-page .devices-card .device-card .device-value{font-size:18px;font-weight:600;color:#f4f6fb;margin-left:12px}@media (max-width: 768px){.room-details-page .devices-card .device-card{padding:16px 18px;font-size:16px;gap:14px}.room-details-page .devices-card .device-card .device-icon{font-size:20px}.room-details-page .devices-card .device-card .device-name,.room-details-page .devices-card .device-card .device-value{font-size:16px}}@media (max-width: 480px){.room-details-page .devices-card .device-card{padding:14px 16px;font-size:15px;gap:12px}.room-details-page .devices-card .device-card .device-icon{font-size:18px}.room-details-page .devices-card .device-card .device-name,.room-details-page .devices-card .device-card .device-value{font-size:15px}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle{width:40px;height:22px}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle:after{width:18px;height:18px}.room-details-page .devices-card .device-card .device-toggle-wrap .toggle.on:after{left:20px}}.climate-chart{margin-top:24px;padding:15px;background:#1e223cf2;border-radius:16px}.climate-chart h3{font-size:20px;font-weight:700;margin-bottom:16px;color:#f4f6fb}.climate-chart .recharts-default-tooltip{background-color:#23284a!important;border:none!important;border-radius:10px;padding:10px 16px;color:#fff!important;font-size:15px;font-weight:600}.climate-chart .recharts-tooltip-label{color:#fff!important;font-weight:700}.climate-chart .recharts-tooltip-item,.climate-chart .recharts-legend-item-text{color:#fff!important;font-weight:600}.climate-chart .custom-legend{display:flex;align-items:center;margin-bottom:8px;margin-left:4px;font-size:17px;font-weight:700}.climate-chart .legend-item{display:flex;align-items:center}.climate-chart .legend-dot{display:inline-block;width:16px;height:16px;border-radius:50%;margin-right:7px;box-shadow:0 1px 4px #2c304d1a}@media screen and (max-width: 1024px){.room-details-page{padding:24px 20px}}@media screen and (max-width: 768px){.room-details-page{padding:20px 16px}.room-details-page .room-details-header h1{font-size:32px}}@media screen and (max-width: 480px){.room-details-page{padding:16px 12px}.room-details-page .room-details-header h1{font-size:28px}}.scripts-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}@media screen and (max-width: 1024px){.scripts-page{padding:24px}}@media screen and (max-width: 768px){.scripts-page{padding:20px;border-radius:12px}}@media screen and (max-width: 480px){.scripts-page{padding:16px;border-radius:8px}}.scripts-page .scripts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}@media screen and (max-width: 768px){.scripts-page .scripts-header{margin-bottom:24px;text-align:center}}@media screen and (max-width: 480px){.scripts-page .scripts-header{margin-bottom:20px}}@media (max-width: 700px){.scripts-page .scripts-header{width:100%;flex-direction:column;align-items:stretch;gap:16px}}.scripts-page .scripts-header h1{font-size:38px;font-weight:700;margin:0;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none}@media screen and (max-width: 768px){.scripts-page .scripts-header h1{font-size:28px}}@media screen and (max-width: 480px){.scripts-page .scripts-header h1{font-size:28px}}.scripts-page .scripts-header .new-script-btn{padding:14px 32px;font-size:18px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;cursor:pointer;box-shadow:0 2px 12px #38cfff1a;transition:all .3s ease;position:relative;overflow:hidden}.scripts-page .scripts-header .new-script-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease}.scripts-page .scripts-header .new-script-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.scripts-page .scripts-header .new-script-btn:hover:before{opacity:1}.scripts-page .scripts-header .new-script-btn:active{transform:translateY(0)}@media screen and (max-width: 768px){.scripts-page .scripts-header .new-script-btn{padding:12px 24px;font-size:16px}}@media screen and (max-width: 480px){.scripts-page .scripts-header .new-script-btn{padding:10px 20px;font-size:15px}}@media (max-width: 700px){.scripts-page .scripts-header .new-script-btn{width:100%;display:block;font-size:16px;padding:12px 0}}.scripts-page .scripts-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}@media screen and (max-width: 1024px){.scripts-page .scripts-list{gap:24px}}@media screen and (max-width: 768px){.scripts-page .scripts-list{gap:20px}}@media screen and (max-width: 480px){.scripts-page .scripts-list{gap:12px;grid-template-columns:1fr}}.scripts-page .script-card{background:#23284a80;border:1px solid rgba(56,207,255,.1);border-radius:14px;padding:28px 28px 22px;box-shadow:0 2px 8px #38cfff0d;position:relative;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.scripts-page .script-card:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a;border-color:#38cfff33}.scripts-page .script-card:active{transform:translateY(0)}@media screen and (max-width: 1024px){.scripts-page .script-card{padding:24px 24px 20px}}@media screen and (max-width: 768px){.scripts-page .script-card{padding:20px}}@media screen and (max-width: 480px){.scripts-page .script-card{padding:14px;border-radius:10px}}.scripts-page .script-card .script-card-header{display:flex;align-items:center;margin-bottom:8px}@media screen and (max-width: 480px){.scripts-page .script-card .script-card-header{flex-wrap:wrap;gap:6px;margin-bottom:6px}}.scripts-page .script-card .script-card-header .script-title{font-size:26px;font-weight:700;margin-right:12px;display:flex;align-items:center;gap:8px;color:#f4f6fb}@media screen and (max-width: 768px){.scripts-page .script-card .script-card-header .script-title{font-size:22px}}@media screen and (max-width: 480px){.scripts-page .script-card .script-card-header .script-title{font-size:18px;margin-right:6px;gap:6px}}.scripts-page .script-card .script-card-header .script-status{font-size:15px;font-weight:600;border-radius:16px;padding:2px 16px;margin-left:8px;transition:all .3s ease}@media screen and (max-width: 480px){.scripts-page .script-card .script-card-header .script-status{font-size:13px;padding:2px 10px;margin-left:0;border-radius:12px}}.scripts-page .script-card .script-card-header .script-status.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;box-shadow:0 0 8px #38cfff4d}.scripts-page .script-card .script-card-header .script-status.inactive{background:#23284a80;color:#bfc9da;border:1px solid rgba(56,207,255,.2)}.scripts-page .script-card .script-card-header .script-status:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff26}.scripts-page .script-card .script-card-header .script-status:active{transform:translateY(0)}.scripts-page .script-card .script-desc{color:#bfc9da;font-size:17px;margin-bottom:12px;transition:all .3s ease}.scripts-page .script-card .script-desc:hover{color:#f4f6fb}@media screen and (max-width: 768px){.scripts-page .script-card .script-desc{font-size:16px}}@media screen and (max-width: 480px){.scripts-page .script-card .script-desc{font-size:15px;margin-bottom:10px}}.scripts-page .script-card .script-last-run{color:#bfc9da;font-size:15px;margin-bottom:10px;display:flex;align-items:center;gap:6px;transition:all .3s ease}.scripts-page .script-card .script-last-run:hover{color:#f4f6fb}@media screen and (max-width: 480px){.scripts-page .script-card .script-last-run{font-size:14px;margin-bottom:8px}}.scripts-page .script-card .script-triggers{font-size:16px;margin-bottom:18px}@media screen and (max-width: 480px){.scripts-page .script-card .script-triggers{font-size:15px;margin-bottom:14px}}.scripts-page .script-card .script-triggers .script-trigger-list{display:flex;gap:10px;margin-top:4px;flex-wrap:wrap}@media screen and (max-width: 480px){.scripts-page .script-card .script-triggers .script-trigger-list{gap:8px}}.scripts-page .script-card .script-triggers .script-trigger-chip{background:#23284a80;color:#f4f6fb;border:1px solid rgba(56,207,255,.2);border-radius:8px;padding:4px 12px;font-size:14px;transition:all .3s ease}.scripts-page .script-card .script-triggers .script-trigger-chip:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a;border-color:#38cfff4d}.scripts-page .script-card .script-triggers .script-trigger-chip:active{transform:translateY(0)}.scripts-page .script-card .script-actions{display:flex;gap:12px;margin-top:auto}@media screen and (max-width: 480px){.scripts-page .script-card .script-actions{flex-direction:column;gap:8px}}.scripts-page .script-card .script-actions .edit-btn{padding:10px 22px;font-size:16px;font-weight:600;border-radius:10px;background:#23284a80;color:#f4f6fb;border:1.5px solid #38cfff;cursor:pointer;margin-top:8px;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:relative;overflow:hidden}.scripts-page .script-card .script-actions .edit-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff,#38cfff);opacity:0;transition:opacity .3s ease;z-index:-1}.scripts-page .script-card .script-actions .edit-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.scripts-page .script-card .script-actions .edit-btn:hover:before{opacity:.1}.scripts-page .script-card .script-actions .run-btn{width:100%;padding:14px 0;font-size:18px;font-weight:600;border-radius:10px;background:#23284a80;color:#f4f6fb;border:1.5px solid #38cfff;cursor:pointer;margin-top:8px;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:relative;overflow:hidden}.scripts-page .script-card .script-actions .run-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff,#38cfff);opacity:0;transition:opacity .3s ease;z-index:-1}.scripts-page .script-card .script-actions .run-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.scripts-page .script-card .script-actions .run-btn:hover:before{opacity:.1}.scripts-page .script-card .script-actions .run-btn:active{transform:translateY(0)}.new-script-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a;min-height:100vh}.new-script-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.new-script-page .page-header .header-left{display:flex;align-items:center;gap:24px}.new-script-page .page-header .header-left .back-button{font-size:22px;background:none;border:none;cursor:pointer;color:#38cfff;padding:0 6px 0 0;line-height:1;transition:color .2s;display:flex;align-items:center;margin-top:12px}.new-script-page .page-header .header-left .back-button:hover{color:#a259ff}.new-script-page .page-header .header-left h1{font-size:38px;font-weight:700;margin:0;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none}.new-script-page .page-header .header-actions{display:flex;gap:16px}.new-script-page .page-header .header-actions .delete-button{background:#23284a;color:#f4f6fb;border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:10px 24px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.new-script-page .page-header .header-actions .delete-button:hover{background:#ff52521a;color:#ff5252}.new-script-page .page-header .header-actions .save-button{background:linear-gradient(135deg,#a259ff,#38cfff);color:#181c2f;border:none;border-radius:8px;padding:10px 24px;font-size:16px;font-weight:600;cursor:pointer;transition:opacity .2s}.new-script-page .page-header .header-actions .save-button:hover{opacity:.9}.new-script-page .script-content{display:flex;flex-direction:column;gap:32px}.new-script-page .script-section{background:#23284a;border:1px solid rgba(100,110,140,.18);border-radius:16px;padding:36px 32px 32px;box-shadow:0 2px 8px #2c304d1a;color:#f4f6fb}@media (max-width: 900px){.new-script-page .script-section{padding:28px 24px}}@media (max-width: 480px){.new-script-page .script-section{padding:24px 20px}}.new-script-page .script-section h2{font-size:26px;font-weight:700;margin:0 0 8px;color:#f4f6fb}@media (max-width: 768px){.new-script-page .script-section h2{font-size:24px}}@media (max-width: 480px){.new-script-page .script-section h2{font-size:22px}}.new-script-page .script-section .section-description{color:#bfc9da;font-size:17px;margin:0 0 24px}.new-script-page .script-section .form-group{margin-bottom:24px}.new-script-page .script-section .form-group label{display:block;font-size:16px;font-weight:600;margin-bottom:8px;color:#f4f6fb}.new-script-page .script-section .form-group input[type=text],.new-script-page .script-section .form-group textarea,.new-script-page .script-section .form-group select{width:100%;padding:10px 12px;border:1px solid rgba(100,110,140,.18);border-radius:8px;font-size:16px;color:#f4f6fb;background:#181c2f}.new-script-page .script-section .form-group input[type=text]::placeholder,.new-script-page .script-section .form-group textarea::placeholder,.new-script-page .script-section .form-group select::placeholder{color:#bfc9da}.new-script-page .script-section .form-group input[type=text]:focus,.new-script-page .script-section .form-group textarea:focus,.new-script-page .script-section .form-group select:focus{outline:none;border-color:#38cfff}.new-script-page .script-section .form-group input[type=text] option,.new-script-page .script-section .form-group textarea option,.new-script-page .script-section .form-group select option{background:#181c2f;color:#f4f6fb}.new-script-page .script-section .form-group textarea{min-height:100px;resize:vertical}.new-script-page .script-section .toggle-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.new-script-page .script-section .toggle-switch{position:relative;width:44px;height:24px}.new-script-page .script-section .toggle-switch input{opacity:0;width:0;height:0}.new-script-page .script-section .toggle-switch input:checked+.toggle-slider{background:linear-gradient(135deg,#a259ff,#38cfff)}.new-script-page .script-section .toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.new-script-page .script-section .toggle-switch .toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#646e8c2e;transition:.4s;border-radius:12px}.new-script-page .script-section .toggle-switch .toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:2px;bottom:2px;background-color:#f4f6fb;transition:.4s;border-radius:50%;box-shadow:0 1px 4px #0003}.new-script-page .conditions-section,.new-script-page .actions-section{margin-top:24px}.new-script-page .conditions-section h3,.new-script-page .actions-section h3{font-size:20px;font-weight:700;margin:0 0 16px;color:#f4f6fb}.new-script-page .condition-row,.new-script-page .action-row{display:flex;gap:10px;align-items:center;margin-bottom:12px}.new-script-page .condition-row select,.new-script-page .condition-row input,.new-script-page .action-row select,.new-script-page .action-row input{padding:8px 10px;border:1px solid rgba(100,110,140,.18);border-radius:8px;font-size:16px;color:#f4f6fb;background:#181c2f}.new-script-page .condition-row select:focus,.new-script-page .condition-row input:focus,.new-script-page .action-row select:focus,.new-script-page .action-row input:focus{outline:none;border-color:#38cfff}.new-script-page .condition-row select option,.new-script-page .condition-row input option,.new-script-page .action-row select option,.new-script-page .action-row input option{background:#181c2f;color:#f4f6fb}.new-script-page .condition-row .condition-type,.new-script-page .action-row .condition-type{width:120px}.new-script-page .condition-row .sensor-select,.new-script-page .condition-row .device-select,.new-script-page .action-row .sensor-select,.new-script-page .action-row .device-select{width:200px}.new-script-page .condition-row .comparison,.new-script-page .action-row .comparison{width:150px}.new-script-page .condition-row .value-input,.new-script-page .action-row .value-input{width:120px}.new-script-page .condition-row .action-label,.new-script-page .action-row .action-label{font-size:16px;font-weight:600;color:#f4f6fb}.new-script-page .condition-row .delete-condition,.new-script-page .condition-row .delete-action,.new-script-page .action-row .delete-condition,.new-script-page .action-row .delete-action{background:#ff52521a;color:#ff5252;border:1px solid rgba(255,82,82,.2);border-radius:8px;padding:6px 12px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.new-script-page .condition-row .delete-condition:hover,.new-script-page .condition-row .delete-action:hover,.new-script-page .action-row .delete-condition:hover,.new-script-page .action-row .delete-action:hover{background:#ff525233;color:#ff6b6b}.new-script-page .add-condition,.new-script-page .add-action{background:#23284a;color:#f4f6fb;border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:8px 18px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.new-script-page .add-condition:hover,.new-script-page .add-action:hover{background:#646e8c1a}@media (max-width: 900px){.new-script-page{padding:28px 24px}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.page-header .header-actions{width:100%}.page-header .header-actions button{flex:1}}@media (max-width: 768px){.new-script-page{padding:24px 16px}.condition-row,.action-row{flex-direction:column;gap:12px}.condition-row select,.condition-row input,.action-row select,.action-row input{width:100%}.condition-row .delete-condition,.condition-row .delete-action,.action-row .delete-condition,.action-row .delete-action{align-self:flex-end}}@media (max-width: 480px){.new-script-page{padding:16px 12px}.page-header h1{font-size:1.8rem}}.devices-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}@media (max-width: 700px){.devices-page{padding:20px;border-radius:12px}}.devices-page .devices-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}@media screen and (max-width: 768px){.devices-page .devices-header{margin-bottom:24px;text-align:center}}@media screen and (max-width: 480px){.devices-page .devices-header{margin-bottom:20px}}@media (max-width: 700px){.devices-page .devices-header{width:100%;flex-direction:column;align-items:stretch;gap:16px}}.devices-page .devices-header h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none}.devices-page .devices-header .add-device-btn{padding:14px 32px;font-size:18px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;cursor:pointer;box-shadow:0 2px 12px #38cfff1a;transition:all .3s ease;position:relative;overflow:hidden}.devices-page .devices-header .add-device-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease}.devices-page .devices-header .add-device-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.devices-page .devices-header .add-device-btn:hover:before{opacity:1}.devices-page .devices-header .add-device-btn:active{transform:translateY(0)}.devices-page .devices-search{width:100%;font-size:18px;padding:14px 18px;border-radius:10px;border:1.5px solid rgba(56,207,255,.2);margin-bottom:24px;background:#23284a80;color:#f4f6fb;outline:none;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.devices-page .devices-search:focus{border-color:#38cfff;box-shadow:0 0 0 2px #38cfff1a}.devices-page .devices-search::placeholder{color:#bfc9da}.devices-page .devices-tabs{display:flex;gap:0;margin-bottom:24px;background:#23284a80;border-radius:10px;overflow:hidden;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(56,207,255,.1)}.devices-page .devices-tabs button{flex:1 1 0;padding:14px 0;font-size:17px;font-weight:600;background:none;border:none;color:#bfc9da;cursor:pointer;transition:all .3s ease}.devices-page .devices-tabs button.active{background:#38cfff1a;color:#f4f6fb;box-shadow:0 2px 8px #38cfff1a}.devices-page .devices-tabs button:not(.active):hover{background:#38cfff0d;color:#f4f6fb}.devices-page .devices-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}@media (max-width: 700px){.devices-page .devices-list{grid-template-columns:1fr;gap:12px}}.devices-page .device-card{background:#23284a80;border:1px solid rgba(56,207,255,.1);border-radius:14px;padding:28px 28px 22px;min-width:300px;box-shadow:0 2px 8px #38cfff0d;position:relative;display:flex;flex-direction:column;margin-bottom:24px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.devices-page .device-card:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a;border-color:#38cfff33}@media (max-width: 700px){.devices-page .device-card{padding:16px;min-width:0;margin-bottom:0;border-radius:10px}}.devices-page .device-card .device-card-header{display:flex;align-items:center;gap:12px;margin-bottom:6px}.devices-page .device-card .device-card-header .device-icon{font-size:24px;color:#38cfff}@media (max-width: 700px){.devices-page .device-card .device-card-header .device-icon{font-size:20px}}.devices-page .device-card .device-card-header .device-title{font-size:22px;font-weight:700;color:#f4f6fb}@media (max-width: 700px){.devices-page .device-card .device-card-header .device-title{font-size:18px}}.devices-page .device-card .device-room{color:#bfc9da;font-size:16px;margin-bottom:10px}@media (max-width: 700px){.devices-page .device-card .device-room{font-size:14px;margin-bottom:8px}}.devices-page .device-card .device-status-row{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:8px}@media (max-width: 700px){.devices-page .device-card .device-status-row{font-size:14px;gap:8px;margin-bottom:6px}}.devices-page .device-card .device-status-row .status-dot{width:12px;height:12px;border-radius:50%;display:inline-block;margin-right:4px;background:#38cfff;box-shadow:0 0 8px #38cfff80}@media (max-width: 700px){.devices-page .device-card .device-status-row .status-dot{width:10px;height:10px}}.devices-page .device-card .device-status-row .device-status-text{font-size:17px;font-weight:600;color:#f4f6fb}@media (max-width: 700px){.devices-page .device-card .device-status-row .device-status-text{font-size:14px}}.devices-page .device-card .device-status-row .device-battery{margin-left:auto;font-size:15px;color:#bfc9da;display:flex;align-items:center;gap:4px}@media (max-width: 700px){.devices-page .device-card .device-status-row .device-battery{font-size:13px}}.devices-page .device-card .device-updated{color:#bfc9da;font-size:15px;margin-bottom:12px}.devices-page .device-card .device-details-btn{width:100%;padding:12px 0;font-size:17px;font-weight:600;border-radius:8px;background:#23284a80;color:#f4f6fb;border:1.5px solid #38cfff;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}@media (max-width: 700px){.devices-page .device-card .device-details-btn{padding:8px 0;font-size:14px;border-radius:6px}}.devices-page .device-card .device-details-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.devices-page .device-card .device-details-btn:active{transform:translateY(0)}.devices-page .devices-empty{text-align:center;color:#bfc9da;font-size:22px;font-weight:500;padding:48px 0 32px;margin:0 auto;letter-spacing:.02em}@media (max-width: 700px){.devices-page .devices-header{width:100%;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:24px}.devices-page .devices-header h1{font-size:28px;margin-bottom:0}.devices-page .add-device-btn{width:100%;display:block;font-size:16px;padding:12px 0}.devices-page .devices-search{font-size:16px;padding:12px 16px}.devices-page .devices-tabs{margin-bottom:20px}.devices-page .devices-tabs button{padding:12px 0;font-size:15px}}.device-details-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}.device-details-page .device-details-header{margin-bottom:32px;display:flex;align-items:flex-start;gap:18px}.device-details-page .device-details-header .back-btn{font-size:22px;background:none;border:none;cursor:pointer;color:#111;margin-right:8px;padding:0 6px 0 0;line-height:1;transition:color .2s;margin-top:8px}.device-details-page .device-details-header .back-btn:hover{color:#555}.device-details-page .device-details-header .device-details-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.device-details-page .device-details-header .device-details-title-row .device-details-title{font-size:32px;font-weight:700;color:#f4f6fb}.device-details-page .device-details-header .device-details-title-row .device-details-type{font-size:18px;color:#bfc9da!important;font-weight:500;display:flex;align-items:center;gap:6px}.device-details-page .device-details-header .device-details-title-row .device-details-room{font-size:18px;color:#bfc9da!important;font-weight:500}.device-details-page .device-details-header .device-details-title-row .device-details-updated{font-size:15px;color:#bfc9da!important;font-weight:400}.device-details-page .device-details-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;gap:16px}@media (max-width: 1100px){.device-details-page .device-details-grid{grid-template-columns:1fr;grid-template-rows:none}}.device-details-page .device-details-grid .device-status-card,.device-details-page .device-details-grid .device-history-card,.device-details-page .device-details-grid .device-location-card,.device-details-page .device-details-grid .device-settings-card,.device-details-page .device-details-grid .device-automations-card{background:#23284a80;border:1px solid rgba(56,207,255,.1);border-radius:16px;padding:28px;box-shadow:0 2px 8px #38cfff0d;min-width:300px;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease;color:#f4f6fb}.device-details-page .device-details-grid .device-status-card h2,.device-details-page .device-details-grid .device-history-card h2,.device-details-page .device-details-grid .device-location-card h2,.device-details-page .device-details-grid .device-settings-card h2,.device-details-page .device-details-grid .device-automations-card h2{font-size:22px;font-weight:700;margin-bottom:12px}.device-details-page .device-details-grid .device-status-card .device-section-sub,.device-details-page .device-details-grid .device-history-card .device-section-sub,.device-details-page .device-details-grid .device-location-card .device-section-sub,.device-details-page .device-details-grid .device-settings-card .device-section-sub,.device-details-page .device-details-grid .device-automations-card .device-section-sub{margin-bottom:28px;color:#bfc9da!important}.device-details-page .device-details-grid .device-status-card .device-status-row,.device-details-page .device-details-grid .device-history-card .device-status-row,.device-details-page .device-details-grid .device-location-card .device-status-row,.device-details-page .device-details-grid .device-settings-card .device-status-row,.device-details-page .device-details-grid .device-automations-card .device-status-row{display:flex;align-items:center;justify-content:space-between;font-size:18px;font-weight:500;margin-bottom:32px;padding:8px 0;color:#f4f6fb;border-bottom:1px solid rgba(56,207,255,.08)}.device-details-page .device-details-grid .device-status-card .device-status-row .device-status-label,.device-details-page .device-details-grid .device-history-card .device-status-row .device-status-label,.device-details-page .device-details-grid .device-location-card .device-status-row .device-status-label,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-status-label,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-status-label{font-size:19px}.device-details-page .device-details-grid .device-status-card .device-status-row .device-toggle-wrap,.device-details-page .device-details-grid .device-history-card .device-status-row .device-toggle-wrap,.device-details-page .device-details-grid .device-location-card .device-status-row .device-toggle-wrap,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-toggle-wrap,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-toggle-wrap{margin-left:12px}.device-details-page .device-details-grid .device-status-card .device-status-row .device-toggle-wrap .toggle,.device-details-page .device-details-grid .device-history-card .device-status-row .device-toggle-wrap .toggle,.device-details-page .device-details-grid .device-location-card .device-status-row .device-toggle-wrap .toggle,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-toggle-wrap .toggle,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-toggle-wrap .toggle{display:inline-block;width:48px;height:26px;border-radius:13px;background:#eee;position:relative;transition:background .2s}.device-details-page .device-details-grid .device-status-card .device-status-row .device-toggle-wrap .toggle:after,.device-details-page .device-details-grid .device-history-card .device-status-row .device-toggle-wrap .toggle:after,.device-details-page .device-details-grid .device-location-card .device-status-row .device-toggle-wrap .toggle:after,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-toggle-wrap .toggle:after,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-toggle-wrap .toggle:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#fff;position:absolute;top:2px;left:2px;transition:left .2s;box-shadow:0 1px 4px #0002}.device-details-page .device-details-grid .device-status-card .device-status-row .device-toggle-wrap .toggle.on,.device-details-page .device-details-grid .device-history-card .device-status-row .device-toggle-wrap .toggle.on,.device-details-page .device-details-grid .device-location-card .device-status-row .device-toggle-wrap .toggle.on,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-toggle-wrap .toggle.on,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-toggle-wrap .toggle.on{background:#111}.device-details-page .device-details-grid .device-status-card .device-status-row .device-toggle-wrap .toggle.on:after,.device-details-page .device-details-grid .device-history-card .device-status-row .device-toggle-wrap .toggle.on:after,.device-details-page .device-details-grid .device-location-card .device-status-row .device-toggle-wrap .toggle.on:after,.device-details-page .device-details-grid .device-settings-card .device-status-row .device-toggle-wrap .toggle.on:after,.device-details-page .device-details-grid .device-automations-card .device-status-row .device-toggle-wrap .toggle.on:after{left:24px;background:#fff}.device-details-page .device-details-grid .device-status-card .device-slider-row,.device-details-page .device-details-grid .device-history-card .device-slider-row,.device-details-page .device-details-grid .device-location-card .device-slider-row,.device-details-page .device-details-grid .device-settings-card .device-slider-row,.device-details-page .device-details-grid .device-automations-card .device-slider-row{display:flex;align-items:center;gap:12px;font-size:17px;margin-bottom:32px;padding:8px 0;color:#f4f6fb;border-bottom:1px solid rgba(56,207,255,.08)}.device-details-page .device-details-grid .device-status-card .device-slider-row span,.device-details-page .device-details-grid .device-history-card .device-slider-row span,.device-details-page .device-details-grid .device-location-card .device-slider-row span,.device-details-page .device-details-grid .device-settings-card .device-slider-row span,.device-details-page .device-details-grid .device-automations-card .device-slider-row span{font-size:19px;font-weight:500;min-width:100px}.device-details-page .device-details-grid .device-status-card .device-slider-row input[type=range],.device-details-page .device-details-grid .device-history-card .device-slider-row input[type=range],.device-details-page .device-details-grid .device-location-card .device-slider-row input[type=range],.device-details-page .device-details-grid .device-settings-card .device-slider-row input[type=range],.device-details-page .device-details-grid .device-automations-card .device-slider-row input[type=range]{flex:1 1 0;margin:0 8px;accent-color:#111;height:4px}.device-details-page .device-details-grid .device-status-card .device-battery-row,.device-details-page .device-details-grid .device-status-card .device-connection-row,.device-details-page .device-details-grid .device-history-card .device-battery-row,.device-details-page .device-details-grid .device-history-card .device-connection-row,.device-details-page .device-details-grid .device-location-card .device-battery-row,.device-details-page .device-details-grid .device-location-card .device-connection-row,.device-details-page .device-details-grid .device-settings-card .device-battery-row,.device-details-page .device-details-grid .device-settings-card .device-connection-row,.device-details-page .device-details-grid .device-automations-card .device-battery-row,.device-details-page .device-details-grid .device-automations-card .device-connection-row{display:flex;align-items:center;justify-content:space-between;font-size:17px;margin-bottom:16px;padding:8px 0;color:#f4f6fb;border-bottom:1px solid rgba(56,207,255,.08)}.device-details-page .device-details-grid .device-status-card .device-battery-row span:first-child,.device-details-page .device-details-grid .device-status-card .device-connection-row span:first-child,.device-details-page .device-details-grid .device-history-card .device-battery-row span:first-child,.device-details-page .device-details-grid .device-history-card .device-connection-row span:first-child,.device-details-page .device-details-grid .device-location-card .device-battery-row span:first-child,.device-details-page .device-details-grid .device-location-card .device-connection-row span:first-child,.device-details-page .device-details-grid .device-settings-card .device-battery-row span:first-child,.device-details-page .device-details-grid .device-settings-card .device-connection-row span:first-child,.device-details-page .device-details-grid .device-automations-card .device-battery-row span:first-child,.device-details-page .device-details-grid .device-automations-card .device-connection-row span:first-child{font-weight:500;font-size:19px}.device-details-page .device-details-grid .device-status-card .device-battery-row .device-connection-status,.device-details-page .device-details-grid .device-status-card .device-connection-row .device-connection-status,.device-details-page .device-details-grid .device-history-card .device-battery-row .device-connection-status,.device-details-page .device-details-grid .device-history-card .device-connection-row .device-connection-status,.device-details-page .device-details-grid .device-location-card .device-battery-row .device-connection-status,.device-details-page .device-details-grid .device-location-card .device-connection-row .device-connection-status,.device-details-page .device-details-grid .device-settings-card .device-battery-row .device-connection-status,.device-details-page .device-details-grid .device-settings-card .device-connection-row .device-connection-status,.device-details-page .device-details-grid .device-automations-card .device-battery-row .device-connection-status,.device-details-page .device-details-grid .device-automations-card .device-connection-row .device-connection-status{color:#19c37d;font-weight:600}.device-details-page .device-details-grid .device-status-card .device-battery-row .device-connection-status-badge,.device-details-page .device-details-grid .device-status-card .device-connection-row .device-connection-status-badge,.device-details-page .device-details-grid .device-history-card .device-battery-row .device-connection-status-badge,.device-details-page .device-details-grid .device-history-card .device-connection-row .device-connection-status-badge,.device-details-page .device-details-grid .device-location-card .device-battery-row .device-connection-status-badge,.device-details-page .device-details-grid .device-location-card .device-connection-row .device-connection-status-badge,.device-details-page .device-details-grid .device-settings-card .device-battery-row .device-connection-status-badge,.device-details-page .device-details-grid .device-settings-card .device-connection-row .device-connection-status-badge,.device-details-page .device-details-grid .device-automations-card .device-battery-row .device-connection-status-badge,.device-details-page .device-details-grid .device-automations-card .device-connection-row .device-connection-status-badge{background:#38cfff26;color:#38cfff;border-radius:8px;padding:4px 14px;font-weight:600}.device-details-page .device-details-grid .device-history-card{grid-column:2/3;grid-row:1/2;min-height:320px}@media (max-width: 1100px){.device-details-page .device-details-grid .device-history-card{grid-column:1;grid-row:auto}}.device-details-page .device-details-grid .device-history-card h2{font-size:22px;font-weight:700;margin-bottom:8px}.device-details-page .device-details-grid .device-history-card .device-section-sub{color:#bfc9da!important;font-size:15px;margin-bottom:18px}.device-details-page .device-details-grid .device-history-card .device-history-chart-type-btns{display:flex;gap:12px;margin-bottom:20px}.device-details-page .device-details-grid .device-history-card .device-history-chart-type-btns .device-history-chart-btn{padding:8px 16px;border:1.5px solid #38cfff;border-radius:10px;background:#23284a80;font-size:15px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .3s ease;color:#f4f6fb;position:relative;overflow:hidden;outline:none}.device-details-page .device-details-grid .device-history-card .device-history-chart-type-btns .device-history-chart-btn:hover,.device-details-page .device-details-grid .device-history-card .device-history-chart-type-btns .device-history-chart-btn.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border-color:#a259ff}.device-details-page .device-details-grid .device-history-card .device-history-recharts-chart{margin-top:12px;padding:15px;background:#ffffff0d;border-radius:12px}.device-details-page .device-details-grid .device-history-card .device-history-recharts-chart .recharts-default-tooltip{background-color:#000c!important;border:none!important;border-radius:8px;padding:8px 12px}.device-details-page .device-details-grid .device-history-card .device-history-recharts-chart .recharts-tooltip-label{color:#fff!important}.device-details-page .device-details-grid .device-history-card .device-history-recharts-chart .recharts-tooltip-item{color:#2196f3!important}.device-details-page .device-details-grid .device-location-card{grid-column:1/2;grid-row:2/3;min-height:280px}@media (max-width: 1100px){.device-details-page .device-details-grid .device-location-card{grid-column:1;grid-row:auto}}.device-details-page .device-details-grid .device-location-card h2{font-size:22px;font-weight:700;margin-bottom:8px}.device-details-page .device-details-grid .device-location-card .device-location-main{font-size:18px;font-weight:500;margin-bottom:6px}.device-details-page .device-details-grid .device-location-card .device-location-sub{color:#bfc9da!important;font-size:15px;margin-bottom:10px}.device-details-page .device-details-grid .device-location-card .device-location-map{background:#23284a4d;border-radius:8px;min-height:48px;color:#bfc9da;font-size:15px;display:flex;align-items:center;justify-content:center;margin-top:8px;border:1px solid rgba(56,207,255,.08)}.device-details-page .device-details-grid .device-settings-card{grid-column:2/3;grid-row:2/3;min-height:280px}@media (max-width: 1100px){.device-details-page .device-details-grid .device-settings-card{grid-column:1;grid-row:auto}}.device-details-page .device-details-grid .device-settings-card h2{font-size:22px;font-weight:700;margin-bottom:8px}.device-details-page .device-details-grid .device-settings-card .device-settings-sub{color:#bfc9da!important;font-size:15px;margin-bottom:12px}.device-details-page .device-details-grid .device-settings-card .device-settings-row{display:flex;align-items:center;gap:12px;margin-bottom:14px}.device-details-page .device-details-grid .device-settings-card .device-settings-row label{font-size:16px;font-weight:500}.device-details-page .device-details-grid .device-settings-card .device-settings-row .device-settings-input{flex:1 1 0;font-size:16px;padding:8px 12px;border-radius:8px;border:1.5px solid #38cfff;background:#23284a4d;color:#f4f6fb;transition:all .3s ease;outline:none}.device-details-page .device-details-grid .device-settings-card .device-settings-row .device-settings-input::placeholder{color:#bfc9da}.device-details-page .device-details-grid .device-settings-card .device-info-table{margin-bottom:16px}.device-details-page .device-details-grid .device-settings-card .device-info-table div{display:flex;justify-content:space-between;font-size:15px;color:#bfc9da!important;margin-bottom:4px}.device-details-page .device-details-grid .device-settings-card .device-info-table div span:first-child{font-weight:500;color:#f4f6fb!important}.device-details-page .device-details-grid .device-settings-card .device-save-btn{width:100%;padding:12px 0;font-size:17px;font-weight:600;border-radius:8px;background:#111;color:#fff;border:none;cursor:pointer;transition:background .2s}.device-details-page .device-details-grid .device-settings-card .device-save-btn:hover{background:#222}.device-details-page .device-details-grid .device-automations-card{grid-column:1/3;grid-row:3/4;min-height:200px}@media (max-width: 1100px){.device-details-page .device-details-grid .device-automations-card{grid-column:1;grid-row:auto}}.device-details-page .device-details-grid .device-automations-card h2{font-size:22px;font-weight:700;margin-bottom:8px}.device-details-page .device-details-grid .device-automations-card .device-automations-list{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}.device-details-page .device-details-grid .device-automations-card .device-automations-list .device-automation-item{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#23284a4d;border-radius:10px;padding:14px 18px;font-size:16px;font-weight:500;color:#f4f6fb;border:1px solid rgba(56,207,255,.08);margin-bottom:10px}.device-details-page .device-details-grid .device-automations-card .device-automations-list .device-automation-item .device-automation-title{font-weight:700;margin-bottom:2px}.device-details-page .device-details-grid .device-automations-card .device-automations-list .device-automation-item .device-automation-desc{color:#888;font-size:15px}.device-details-page .device-details-grid .device-automations-card .device-automations-btn{width:100%;padding:12px 0;font-size:17px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 12px #38cfff1a;position:relative;overflow:hidden;outline:none}.device-details-page .device-details-grid .device-automations-card .device-automations-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease;z-index:0}.device-details-page .device-details-grid .device-automations-card .device-automations-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.device-details-page .device-details-grid .device-automations-card .device-automations-btn:hover:before{opacity:1}.device-details-page .device-details-grid .device-automations-card .device-automations-btn:active{transform:translateY(0)}.device-details-title--big{font-size:38px;font-weight:700}.device-details-title-row-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.device-type-badge{border-radius:8px;padding:2px 12px;font-weight:600;font-size:18px}.device-room-label{color:#888;font-size:18px}.device-section-title{font-weight:700;font-size:24px}.device-section-sub{color:#bfc9da!important;margin-bottom:12px}.device-status-label{display:flex;align-items:center;gap:6px}.device-status-icon{font-size:20px}.device-brightness-slider{accent-color:#111;width:60%}.device-connection-status-badge{background:#38cfff26;color:#38cfff;border-radius:8px;padding:4px 14px;font-weight:600}.device-history-chart-type-btns{display:flex;gap:10px;margin-bottom:8px}.device-history-chart-btn{border:1px solid #bbb;background:#fafafa;border-radius:6px;padding:4px 16px;font-weight:600;cursor:pointer;transition:border .2s,background .2s}.device-history-chart-btn-icon{margin-right:4px}.device-location-main{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:500}.device-location-sub{color:#bfc9da!important;font-size:15px;margin-bottom:10px}.device-location-map{background:#fafafa;border:1px solid #eee;border-radius:8px;min-height:48px;color:#bbb;font-size:15px;display:flex;align-items:center;justify-content:center;margin-top:8px}.device-info-table-label{font-weight:600;margin:10px 0 4px}.device-automations-btn{display:flex;align-items:center;justify-content:center;gap:8px}.device-automations-btn-icon{font-size:18px}.device-history-range-btns{display:flex;gap:10px;margin-bottom:12px}.device-history-range-btns button{padding:7px 18px;border:1.5px solid #38cfff;border-radius:10px;background:#23284a80;font-size:15px;cursor:pointer;color:#f4f6fb;font-weight:500;transition:all .3s ease;outline:none}.device-history-range-btns button:hover{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border-color:#a259ff}.device-history-range-btns button.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border-color:#a259ff;font-weight:700;box-shadow:0 2px 8px #38cfff1a}.device-location-room-select,.device-location-input{margin-left:12px;padding:8px 14px;border-radius:8px;border:1.5px solid #38cfff;background:#23284a4d;color:#f4f6fb;font-size:15px;font-weight:500;transition:border-color .2s,box-shadow .2s;outline:none;min-width:120px;max-width:220px}.device-location-room-select:focus,.device-location-input:focus{border-color:#a259ff;box-shadow:0 0 0 2px #a259ff1a}.device-location-room-select::placeholder,.device-location-input::placeholder{color:#bfc9da}@media screen and (max-width: 1024px){.device-details-page{padding:24px 20px}.device-details-grid{gap:24px}.device-status-card,.device-history-card,.device-location-card,.device-settings-card,.device-automations-card{padding:24px 20px}}@media screen and (max-width: 768px){.device-details-page{padding:20px 16px}.device-details-header{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:24px}.device-details-header .device-details-title-row{width:100%;flex-direction:column;align-items:flex-start;gap:12px}.device-details-header .device-details-title-row .device-details-title{font-size:28px}.device-details-header .device-details-title-row .device-details-title-row-info{width:100%;display:flex;flex-wrap:wrap;gap:8px}.device-details-grid{gap:20px}.device-status-card,.device-history-card,.device-location-card,.device-settings-card,.device-automations-card{padding:20px 16px}.device-status-card .device-status-row{font-size:16px;margin-bottom:24px}.device-status-card .device-status-row .device-status-label{font-size:17px}.device-status-card .device-slider-row{font-size:16px;margin-bottom:24px}.device-status-card .device-slider-row span{font-size:17px}.device-status-card .device-battery-row,.device-status-card .device-connection-row{font-size:16px;margin-bottom:12px}.device-status-card .device-battery-row span:first-child,.device-status-card .device-connection-row span:first-child{font-size:17px}.device-history-card .device-history-chart-type-btns{flex-wrap:wrap;gap:8px}.device-history-card .device-history-chart-type-btns .device-history-chart-btn{flex:1;min-width:120px;justify-content:center}.device-location-card .device-location-main{font-size:17px}.device-location-card .device-location-sub{font-size:15px}}@media screen and (max-width: 480px){.device-details-page{padding:16px 12px}.device-details-header .device-details-title-row .device-details-title{font-size:24px}.device-status-card,.device-history-card,.device-location-card,.device-settings-card,.device-automations-card{padding:16px 12px}.device-status-card .device-status-row{font-size:15px;margin-bottom:20px}.device-status-card .device-status-row .device-status-label{font-size:16px}.device-status-card .device-status-row .device-toggle-wrap .toggle{width:44px;height:24px}.device-status-card .device-status-row .device-toggle-wrap .toggle:after{width:20px;height:20px}.device-status-card .device-status-row .device-toggle-wrap .toggle.on:after{left:22px}.device-status-card .device-slider-row{font-size:15px;margin-bottom:20px}.device-status-card .device-slider-row span{font-size:16px}.device-status-card .device-battery-row,.device-status-card .device-connection-row{font-size:15px;margin-bottom:10px}.device-status-card .device-battery-row span:first-child,.device-status-card .device-connection-row span:first-child{font-size:16px}.device-history-card .device-history-chart-type-btns .device-history-chart-btn{font-size:14px;padding:8px 12px}.device-location-card .device-location-main{font-size:16px}.device-location-card .device-location-sub{font-size:14px}}@media (max-width: 600px){.device-automations-card form>div{flex-direction:column!important;gap:10px!important}.device-automations-card input,.device-automations-card button.automations-modal-add{width:100%!important;min-width:0!important;box-sizing:border-box}}.automations-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#181c2fa6;z-index:1000;display:flex;align-items:center;justify-content:center}.automations-modal{background:#23284a;border-radius:18px;box-shadow:0 8px 40px #38cfff2e,0 1.5px 8px #a259ff1a;padding:32px 28px 24px;min-width:340px;max-width:96vw;min-height:220px;color:#f4f6fb;position:relative;display:flex;flex-direction:column;gap:18px}.automations-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.automations-modal-header h3{font-size:1.4rem;font-weight:700;margin:0;color:#38cfff;background:linear-gradient(135deg,#a259ff,#38cfff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent}.automations-modal-close{background:none;border:none;font-size:2rem;color:#a259ff;cursor:pointer;padding:0 8px;line-height:1;transition:color .2s}.automations-modal-close:hover{color:#38cfff}.automations-modal-list{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.automations-modal-item{background:#23284ab3;border-radius:10px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#f4f6fb;border:1px solid rgba(56,207,255,.1)}.automations-modal-title{font-weight:700;font-size:1.08rem;margin-bottom:2px}.automations-modal-desc{color:#bfc9da;font-size:.98rem}.automations-modal-delete{border:1.5px solid #ff5252;color:#ff5252;background:transparent;border-radius:8px;font-weight:600;padding:7px 18px;font-size:1rem;cursor:pointer;transition:background .18s,color .18s;outline:none}.automations-modal-delete:hover{background:#ff525214;color:#fff}.automations-modal-add{background:linear-gradient(135deg,#a259ff,#38cfff);color:#fff;border:none;border-radius:8px;padding:12px 0;font-size:1.08rem;font-weight:600;cursor:pointer;width:100%;box-shadow:0 2px 12px #38cfff1a;transition:all .2s}.automations-modal-add:hover{filter:brightness(1.1);box-shadow:0 4px 24px #38cfff2e}.alerts-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}@media screen and (max-width: 768px){.alerts-page{padding:24px;border-radius:16px}}@media screen and (max-width: 480px){.alerts-page{padding:16px;border-radius:12px}}.alerts-page .alerts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}@media screen and (max-width: 768px){.alerts-page .alerts-header{margin-bottom:24px}}@media screen and (max-width: 480px){.alerts-page .alerts-header{margin-bottom:20px;flex-direction:column;gap:12px;align-items:stretch}}.alerts-page .alerts-header h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}@media screen and (max-width: 768px){.alerts-page .alerts-header h1{font-size:28px}}@media screen and (max-width: 480px){.alerts-page .alerts-header h1{font-size:28px}}.alerts-page .alerts-header .alerts-markall-btn{padding:14px 32px;font-size:18px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;cursor:pointer;box-shadow:0 2px 12px #38cfff1a;transition:all .3s ease;position:relative;overflow:hidden}.alerts-page .alerts-header .alerts-markall-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease}.alerts-page .alerts-header .alerts-markall-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.alerts-page .alerts-header .alerts-markall-btn:hover:before{opacity:1}.alerts-page .alerts-header .alerts-markall-btn:active{transform:translateY(0)}.alerts-page .alerts-controls{display:flex;gap:12px;margin-bottom:24px;align-items:center}.alerts-page .alerts-controls .alerts-search{flex:1 1 0;font-size:18px;padding:14px 18px;border-radius:10px;background:#23284a80;color:#f4f6fb;outline:none;border:1.5px solid rgba(56,207,255,.2);transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.alerts-page .alerts-controls .alerts-search::placeholder{color:#bfc9da}.alerts-page .alerts-controls .alerts-search:focus{border:1.5px solid #38cfff;box-shadow:0 0 0 2px #38cfff1a}.alerts-page .alerts-controls .alerts-filter-btn,.alerts-page .alerts-controls .alerts-sort-btn{padding:14px 18px!important;font-size:18px!important;background:#23284a80!important;color:#f4f6fb!important;border:1.5px solid #38cfff!important;border-radius:10px!important;font-weight:600!important;box-shadow:0 2px 8px #38cfff1a!important;cursor:pointer!important;transition:all .3s ease!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.alerts-page .alerts-controls .alerts-filter-btn:hover,.alerts-page .alerts-controls .alerts-sort-btn:hover{background:linear-gradient(135deg,#a259ff,#38cfff)!important;color:#f4f6fb!important;border-color:#a259ff!important}.alerts-page .alerts-tabs{display:flex;gap:0;margin-bottom:24px;background:#23284a80;border-radius:10px;overflow:hidden;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(56,207,255,.1)}.alerts-page .alerts-tabs button{flex:1 1 0;padding:14px 0;font-size:17px;font-weight:600;background:none;border:none;color:#bfc9da;cursor:pointer;transition:all .3s ease}.alerts-page .alerts-tabs button.active{background:#38cfff1a;color:#f4f6fb;box-shadow:0 2px 8px #38cfff1a}.alerts-page .alerts-tabs button:not(.active):hover{background:#38cfff0d;color:#f4f6fb}.alerts-page .alerts-list{display:flex;flex-direction:column;gap:22px}@media screen and (max-width: 768px){.alerts-page .alerts-list{gap:16px}}@media screen and (max-width: 480px){.alerts-page .alerts-list{gap:12px}}.alerts-page .alert-card{display:flex;align-items:flex-start;gap:18px;background:#23284a80;border-radius:16px;box-shadow:0 2px 8px #38cfff0d;padding:28px;margin-bottom:18px;border:1px solid rgba(56,207,255,.1);min-width:320px;max-width:100%;position:relative;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}@media screen and (max-width: 768px){.alerts-page .alert-card{padding:20px;gap:14px;margin-bottom:0}}@media screen and (max-width: 480px){.alerts-page .alert-card{padding:14px;gap:12px;border-radius:12px;min-width:unset}}.alerts-page .alert-card:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a;border-color:#38cfff33}.alerts-page .alert-card:active{transform:translateY(0)}.alerts-page .alert-card .alert-icon{font-size:2rem;margin-right:8px;flex-shrink:0;margin-top:2px;color:#38cfff}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-icon{font-size:1.5rem;margin-right:6px}}.alerts-page .alert-card .alert-card-main{flex:1 1 0;display:flex;flex-direction:column;gap:4px}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main{gap:2px}}.alerts-page .alert-card .alert-card-main .alert-card-title-row{display:flex;align-items:center;gap:10px}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main .alert-card-title-row{gap:6px}}.alerts-page .alert-card .alert-card-main .alert-card-title-row .alert-title{font-size:1.13rem;font-weight:700;margin-right:6px;color:#f4f6fb}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main .alert-card-title-row .alert-title{font-size:1rem;margin-right:4px}}.alerts-page .alert-card .alert-card-main .alert-card-title-row .alert-badge.new{background:#a259ff;color:#fff;border-radius:8px;padding:2px 10px;font-size:.95rem;font-weight:600;margin-left:4px}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main .alert-card-title-row .alert-badge.new{font-size:.85rem;padding:2px 8px;border-radius:6px}}.alerts-page .alert-card .alert-card-main .alert-body{color:#bfc9da;font-size:1.04rem;margin-bottom:2px}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main .alert-body{font-size:.95rem}}.alerts-page .alert-card .alert-card-main .alert-meta{color:#bfc9da;font-size:.98rem;display:flex;gap:18px;align-items:center}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-main .alert-meta{font-size:.9rem;gap:12px}}.alerts-page .alert-card .alert-card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;justify-content:center}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-actions{gap:6px}}.alerts-page .alert-card .alert-card-actions .alert-action-btn{background:#23284a80;color:#f4f6fb;border:1.5px solid #38cfff;border-radius:10px;font-size:1rem;font-weight:600;padding:10px 22px;min-width:110px;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:relative;overflow:hidden}@media screen and (max-width: 480px){.alerts-page .alert-card .alert-card-actions .alert-action-btn{font-size:.9rem;padding:8px 16px;min-width:90px;border-radius:8px}}.alerts-page .alert-card .alert-card-actions .alert-action-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff,#38cfff);opacity:0;transition:opacity .3s ease;z-index:-1}.alerts-page .alert-card .alert-card-actions .alert-action-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.alerts-page .alert-card .alert-card-actions .alert-action-btn:hover:before{opacity:.1}.alerts-page .alert-card .alert-card-actions .alert-action-btn:active{transform:translateY(0)}.alerts-page .alerts-empty{text-align:center;color:#bfc9da;font-size:22px;font-weight:500;padding:48px 0 32px;margin:0 auto;letter-spacing:.02em}.alerts-markall-btn{padding:12px 28px!important}.alerts-filter-btn,.alerts-sort-btn{padding:10px 18px!important}.alerts-filter-wrap{position:relative;display:inline-block}.alerts-filter-btn{background:#fff;border:1px solid #ddd;border-radius:8px;padding:8px 18px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s;margin-right:8px}.alerts-filter-btn:hover{background:#f5f5f5;color:#111}.alerts-type-select{position:absolute;top:110%;left:0;min-width:140px;background:#fff;border:1px solid #ddd;border-radius:10px;box-shadow:0 4px 16px #0002;padding:8px 0;font-size:1rem;z-index:10;outline:none;transition:opacity .2s}.alerts-type-dropdown{position:absolute;top:110%;left:0;min-width:150px;background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 4px 16px #0002;padding:6px 0;z-index:20;display:flex;flex-direction:column;animation:fadeIn .18s}.alerts-type-option{background:none;border:none;width:100%;text-align:left;padding:10px 18px;font-size:1rem;color:#222;font-weight:500;cursor:pointer;transition:background .18s,color .18s}.alerts-type-option:hover,.alerts-type-option.active{background:#f5f5f5;color:#111}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media screen and (max-width: 1024px){.alerts-page{padding:24px 20px}.alerts-header h1{font-size:32px}.alert-card .alert-card-actions{flex-direction:row!important;align-items:stretch;justify-content:flex-end;gap:10px}.alert-card-actions .alert-action-btn{width:120px!important;min-width:0;box-sizing:border-box;margin:0}}@media screen and (max-width: 768px){.alerts-page{padding:20px 16px}.alerts-header{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:24px}.alerts-header h1{font-size:28px}.alerts-header .alerts-markall-btn{width:100%;padding:12px 24px!important;font-size:16px}.alerts-controls{flex-direction:column;gap:12px}.alerts-controls .alerts-search{width:100%;font-size:16px;padding:12px 16px}.alerts-controls .alerts-filter-btn,.alerts-controls .alerts-sort-btn{width:100%;padding:12px 16px!important;font-size:16px!important}.alerts-tabs button{padding:12px 0;font-size:16px}.alert-card{flex-direction:column;padding:16px;gap:16px}.alert-card .alert-card-main{width:100%}.alert-card .alert-card-actions{width:100%;flex-direction:row;justify-content:flex-end;margin-left:0;margin-top:8px}.alert-card .alert-card-actions .alert-action-btn{flex:1;min-width:0}}@media screen and (max-width: 480px){.alerts-page{padding:16px 12px}.alerts-header h1{font-size:24px}.alerts-controls .alerts-search{font-size:15px;padding:10px 14px}.alerts-controls .alerts-filter-btn,.alerts-controls .alerts-sort-btn{font-size:15px!important;padding:10px 14px!important}.alerts-tabs button{padding:10px 0;font-size:15px}.alert-card{padding:14px;gap:12px}.alert-card .alert-icon{font-size:1.5rem}.alert-card .alert-card-main .alert-card-title-row .alert-title{font-size:1rem}.alert-card .alert-card-main .alert-body{font-size:.95rem}.alert-card .alert-card-main .alert-meta{font-size:.9rem}.alert-card .alert-card-actions{flex-direction:column;gap:10px}.alert-card .alert-card-actions .alert-action-btn{width:115px!important;padding:6px 10px;font-size:.82rem}.alerts-empty{font-size:18px;padding:32px 0 24px}}.alert-card .alert-card-actions .alert-action-btn{width:135px!important;font-size:.92rem!important}@media screen and (max-width: 480px){.alert-card .alert-card-actions .alert-action-btn{width:115px!important;font-size:.82rem!important}}.alert-details{margin:0 auto}.alert-details .back-button{background:none;border:none;color:#111;font-size:16px;font-weight:600;padding:8px 16px;cursor:pointer;margin-bottom:24px;display:flex;align-items:center;gap:8px;transition:color .2s}.alert-details .back-button:hover{color:#333}.alert-details .alert-details-card{background:#23284a80;border-radius:16px;box-shadow:0 2px 8px #38cfff0d;padding:28px;border:1px solid rgba(56,207,255,.1);color:#f4f6fb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.alert-details .alert-header{display:flex;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid rgba(56,207,255,.1)}.alert-details .alert-header .alert-icon{font-size:24px;margin-right:8px}.alert-details .alert-header .alert-icon.error{color:#ff6bcb}.alert-details .alert-header .alert-icon.warning{color:#a259ff}.alert-details .alert-header .alert-icon.info{color:#38cfff}.alert-details .alert-header h2{margin:0;font-size:24px;font-weight:700;flex:1;color:#f4f6fb}.alert-details .alert-header .alert-type{padding:4px 12px;border-radius:20px;font-size:14px;font-weight:600;text-transform:uppercase}.alert-details .alert-header .alert-type.error{background:#ff6bcb26;color:#ff6bcb}.alert-details .alert-header .alert-type.warning{background:#a259ff26;color:#a259ff}.alert-details .alert-header .alert-type.info{background:#38cfff26;color:#38cfff}.alert-details .alert-section{margin-bottom:24px}.alert-details .alert-section h3{font-size:18px;font-weight:600;margin:0 0 8px;color:#f4f6fb}.alert-details .alert-section p{margin:0;color:#bfc9da;line-height:1.5}.alert-details .status-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:600}.alert-details .status-badge.read{background:#38cfff26;color:#38cfff}.alert-details .status-badge.unread{background:#a259ff26;color:#a259ff}.alert-details-page{min-height:100vh;background:#181c2f;border-radius:24px;padding:40px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}.alert-details-header{display:flex;align-items:center;gap:24px;margin-bottom:32px}.alert-title-block{display:flex;align-items:center;gap:16px}.alert-icon{font-size:2.2rem;margin-right:4px}.alert-severity{font-size:1rem;font-weight:600;padding:2px 12px;border-radius:16px;margin-left:8px}.alert-severity.error{background:#ff6bcb26;color:#ff6bcb}.alert-severity.warning{background:#a259ff26;color:#a259ff}.alert-severity.info{background:#38cfff26;color:#38cfff}.resolve-btn{margin-left:auto;background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;border-radius:10px;padding:10px 24px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 12px #38cfff1a;position:relative;overflow:hidden;outline:none}.resolve-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff33,#38cfff33);opacity:0;transition:opacity .3s ease;z-index:0}.resolve-btn:hover{transform:translateY(-2px);box-shadow:0 4px 24px #38cfff40}.resolve-btn:hover:before{opacity:1}.resolve-btn:active{transform:translateY(0)}.alert-details-content{display:flex;gap:32px}.alert-main-details{flex:2;background:#23284a80;border-radius:16px;box-shadow:0 2px 8px #38cfff0d;padding:28px;border:1px solid rgba(56,207,255,.1);color:#f4f6fb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.alert-desc{color:#bfc9da;margin-bottom:24px}.alert-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 32px;margin-bottom:18px}.alert-detail-label{color:#bfc9da;font-size:.98rem;margin-bottom:2px}.alert-detail-value{color:#f4f6fb;font-size:1.08rem;font-weight:500}.alert-specific-details{margin-top:24px}.alert-side-panel{flex:1;display:flex;flex-direction:column;gap:24px}.related-device-card,.related-alerts-card{background:#23284a80;border-radius:16px;box-shadow:0 2px 8px #38cfff0d;padding:28px;border:1px solid rgba(56,207,255,.1);color:#f4f6fb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.related-device-desc,.related-alerts-desc{color:#bfc9da;font-size:.98rem;margin-bottom:12px}.related-device-icon{font-size:2.5rem;margin:12px 0 8px;text-align:center}.related-device-name{color:#f4f6fb;font-size:1.1rem;font-weight:600;margin-bottom:2px;text-align:center}.related-device-room{color:#bfc9da;font-size:.98rem;margin-bottom:12px;text-align:center}.view-device-btn{width:100%;background:#23284a80;border:1.5px solid #38cfff;border-radius:10px;padding:10px 0;font-size:1rem;font-weight:600;color:#f4f6fb;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #38cfff0d;position:relative;overflow:hidden;outline:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.view-device-btn:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#a259ff,#38cfff);opacity:0;transition:opacity .3s ease;z-index:-1}.view-device-btn:hover{background:#38cfff1a;transform:translateY(-2px);box-shadow:0 4px 24px #38cfff1a}.view-device-btn:hover:before{opacity:.1}.view-device-btn:active{transform:translateY(0)}.related-alert-item{background:#23284a4d;border-radius:8px;padding:10px 12px;margin-bottom:10px;color:#f4f6fb;border:1px solid rgba(56,207,255,.08)}.related-alert-title{color:#f4f6fb;font-weight:600;font-size:1rem}.related-alert-message{color:#bfc9da;font-size:.97rem}.no-related-alerts{color:#bfc9da;font-size:.98rem;text-align:center;margin-top:8px}@media (max-width: 900px){.alert-details-content{flex-direction:column;gap:18px}.alert-side-panel{flex-direction:row;gap:18px}}@media (max-width: 600px){.alert-details-header{flex-direction:column;align-items:flex-start;gap:10px}.alert-details-content{flex-direction:column;gap:12px}.alert-main-details,.related-device-card,.related-alerts-card{padding:16px 8px}}@media screen and (max-width: 1024px){.alert-details-page{padding:24px 20px}.alert-details-content{gap:24px}.alert-main-details,.alert-side-panel{padding:24px 20px}}@media screen and (max-width: 768px){.alert-details-page{padding:20px 16px}.alert-details-header{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:24px}.alert-details-header .alert-title-block{width:100%;flex-direction:column;align-items:flex-start;gap:12px}.alert-details-header .resolve-btn{width:100%;margin-left:0}.alert-details-content{flex-direction:column;gap:24px}.alert-main-details,.alert-side-panel{width:100%;padding:20px 16px}.alert-details-grid{grid-template-columns:1fr;gap:16px}.related-device-card,.related-alerts-card{padding:20px 16px}.related-alert-item{padding:12px}}@media screen and (max-width: 480px){.alert-details-page{padding:16px 12px}.alert-details-header .alert-title-block h1{font-size:24px}.alert-main-details,.alert-side-panel{padding:16px 12px}.alert-detail-label{font-size:.9rem}.alert-detail-value{font-size:1rem}.related-device-card,.related-alerts-card{padding:16px 12px}.related-device-card h3,.related-alerts-card h3{font-size:18px}.related-device-icon{font-size:2rem}.related-device-name{font-size:1.1rem}.related-alert-item{padding:10px}.related-alert-item .related-alert-title{font-size:1rem}.related-alert-item .related-alert-message{font-size:.9rem}.view-device-btn{width:100%;padding:10px;font-size:.95rem}}@media (max-width: 700px){.alert-details-header,.alert-details-content,.alert-details-actions{flex-direction:column;align-items:stretch;width:100%;gap:16px}.alert-details-header>*,.alert-details-content>*,.alert-details-actions>*{width:100%}.alert-side-panel{flex-direction:column;gap:16px;width:100%}.related-device-card,.related-alerts-card{width:100%}}.script-details-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a;min-height:100vh}.script-details-header{display:flex;align-items:flex-start;gap:18px;margin-bottom:32px}.script-details-header h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}.back-btn{font-size:22px;background:none;border:none;cursor:pointer;color:#38cfff;margin-right:8px;padding:0 6px 0 0;line-height:1;transition:color .2s;margin-top:12px;display:flex;align-items:center}.back-btn:hover{color:#a259ff}.back-btn svg{width:22px;height:22px;display:block;fill:currentColor}.script-details-actions{margin-left:auto;display:flex;gap:16px}.script-details-actions .delete-btn{background:#23284a;color:#f4f6fb;border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:10px 24px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.script-details-actions .delete-btn:hover{background:#ff52521a;color:#ff5252}.script-details-actions .save-btn{background:linear-gradient(135deg,#a259ff,#38cfff);color:#181c2f;border:none;border-radius:8px;padding:10px 24px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s}.script-details-actions .save-btn:hover{opacity:.9}.script-details-content{display:flex;gap:32px;margin-bottom:32px}@media (max-width: 900px){.script-details-content{flex-direction:column;gap:24px}}.script-details-card,.script-trigger-card{flex:1;background:#23284a;border:1px solid rgba(100,110,140,.18);border-radius:16px;box-shadow:0 2px 8px #2c304d1a;padding:36px 32px 32px;display:flex;flex-direction:column;gap:12px;color:#f4f6fb}@media (max-width: 900px){.script-details-card,.script-trigger-card{padding:28px 24px}}@media (max-width: 480px){.script-details-card,.script-trigger-card{padding:24px 20px}}.script-details-card label,.script-trigger-card label{font-weight:600;margin-top:8px;margin-bottom:2px;color:#f4f6fb}.script-details-card input[type=text],.script-details-card input[type=time],.script-details-card textarea,.script-trigger-card input[type=text],.script-trigger-card input[type=time],.script-trigger-card textarea{width:100%;border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:10px 12px;font-size:1rem;background:#181c2f;color:#f4f6fb;margin-bottom:8px;resize:none}.script-details-card input[type=text]::placeholder,.script-details-card input[type=time]::placeholder,.script-details-card textarea::placeholder,.script-trigger-card input[type=text]::placeholder,.script-trigger-card input[type=time]::placeholder,.script-trigger-card textarea::placeholder{color:#bfc9da}.script-details-card textarea,.script-trigger-card textarea{min-height:60px}.script-details-sub{color:#bfc9da;margin-bottom:8px}.script-active-row{display:flex;align-items:center;gap:10px;margin-top:8px}.script-active-row .toggle{display:inline-block;width:44px;height:24px;border-radius:12px;background:#646e8c2e;position:relative;transition:background .2s}.script-active-row .toggle:after{content:"";display:block;width:20px;height:20px;border-radius:50%;background:#f4f6fb;position:absolute;top:2px;left:2px;transition:left .2s;box-shadow:0 1px 4px #0003}.script-active-row .toggle.on{background:linear-gradient(135deg,#a259ff,#38cfff)}.script-active-row .toggle.on:after{left:22px}.script-trigger-card .script-days-row{display:flex;gap:18px;margin-top:12px}.script-trigger-card .script-days-row .script-day-toggle{display:flex;align-items:center;gap:6px}.script-trigger-card .script-days-row .script-day-toggle .toggle{width:32px;height:18px;border-radius:9px;background:#646e8c2e;position:relative}.script-trigger-card .script-days-row .script-day-toggle .toggle:after{content:"";display:block;width:14px;height:14px;border-radius:50%;background:#f4f6fb;position:absolute;top:2px;left:2px}.script-trigger-card .script-days-row .script-day-toggle .toggle.on{background:linear-gradient(135deg,#a259ff,#38cfff)}.script-trigger-card .script-days-row .script-day-toggle .toggle.on:after{left:16px}.script-logic-card{background:#23284a;border:1px solid rgba(100,110,140,.18);border-radius:16px;box-shadow:0 2px 8px #2c304d1a;padding:36px 32px 32px;margin-bottom:32px;color:#f4f6fb}@media (max-width: 900px){.script-logic-card{padding:28px 24px}}@media (max-width: 480px){.script-logic-card{padding:24px 20px}}.script-logic-label{font-size:26px;font-weight:700;margin-bottom:8px;color:#f4f6fb}@media (max-width: 768px){.script-logic-label{font-size:24px}}@media (max-width: 480px){.script-logic-label{font-size:22px}}.script-logic-section{margin-bottom:24px}.script-logic-conditions-row,.script-logic-actions-row{display:flex;gap:10px;align-items:center;margin-bottom:8px}.script-logic-conditions-row select,.script-logic-conditions-row input[type=text],.script-logic-actions-row select,.script-logic-actions-row input[type=text]{border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:8px 10px;font-size:1rem;background:#181c2f;color:#f4f6fb}.script-logic-conditions-row select option,.script-logic-conditions-row input[type=text] option,.script-logic-actions-row select option,.script-logic-actions-row input[type=text] option{background:#181c2f;color:#f4f6fb}.script-logic-conditions-row button.delete-btn,.script-logic-actions-row button.delete-btn{background:#ff52521a;color:#ff5252;border:1px solid rgba(255,82,82,.2);border-radius:8px;padding:6px 12px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.script-logic-conditions-row button.delete-btn:hover,.script-logic-actions-row button.delete-btn:hover{background:#ff525233;color:#ff6b6b}.script-logic-add-row{display:flex;gap:16px;margin-bottom:8px}.script-logic-add-row button{background:#23284a;color:#f4f6fb;border:1px solid rgba(100,110,140,.18);border-radius:8px;padding:8px 18px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.script-logic-add-row button:hover{background:#646e8c1a}.script-logic-add-action{background:#fff;color:#111;border:1px solid #ddd;border-radius:8px;padding:8px 18px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.script-logic-add-action:hover{background:#f5f5f5}@media (max-width: 900px){.script-details-content{flex-direction:column;gap:18px}}@media (max-width: 600px){.script-details-header{flex-direction:column;align-items:flex-start;gap:10px}.script-details-content{flex-direction:column;gap:12px}.script-details-card,.script-trigger-card,.script-logic-card{padding:16px 8px}}@media screen and (max-width: 1024px){.script-details-content{flex-direction:column;gap:24px}.script-details-card,.script-trigger-card,.script-logic-card{width:100%;padding:24px 20px}}@media screen and (max-width: 768px){.script-details-page{padding:24px 16px}.script-details-header{gap:16px;margin-bottom:24px;flex-wrap:wrap}.script-details-header h1{font-size:2rem;margin:0}.script-details-actions{width:100%;order:3;margin-top:16px}.script-details-actions button{flex:1}.script-trigger-card .script-days-row{flex-wrap:wrap;gap:12px}.script-trigger-card .script-days-row .script-day-toggle{min-width:calc(33.33% - 8px);justify-content:center}.script-logic-section .script-logic-conditions-row,.script-logic-section .script-logic-actions-row{flex-direction:column;gap:12px}.script-logic-section .script-logic-conditions-row select,.script-logic-section .script-logic-conditions-row input,.script-logic-section .script-logic-actions-row select,.script-logic-section .script-logic-actions-row input{width:100%}.script-logic-section .script-logic-conditions-row .delete-btn,.script-logic-section .script-logic-actions-row .delete-btn{align-self:flex-end}.script-logic-section .script-logic-add-row{flex-direction:column;gap:12px}.script-logic-section .script-logic-add-row button{width:100%}}@media screen and (max-width: 480px){.script-details-page{padding:16px 12px}.script-details-header h1{font-size:1.8rem}.script-details-card,.script-trigger-card,.script-logic-card{padding:20px 16px}.script-trigger-card .script-days-row .script-day-toggle{min-width:calc(50% - 6px)}}.script-trigger-card select,.script-details-card select{background:#181c2f;color:#fff;border:none;border-radius:6px;padding:10px 14px;font-size:1.1rem;margin:10px 0 20px;width:100%;outline:none;box-shadow:0 2px 8px #0000000a;appearance:none;-webkit-appearance:none;-moz-appearance:none;transition:border .2s,box-shadow .2s}.script-trigger-card select:focus,.script-details-card select:focus{border:1.5px solid #6c63ff;box-shadow:0 0 0 2px #6c63ff33}.script-trigger-card option,.script-details-card option{background:#232548;color:#fff}.script-trigger-card select option:checked,.script-details-card select option:checked,.script-trigger-card select option[selected],.script-details-card select option[selected]{background:#181c2f!important;color:#fff}.add-device-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:40px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}@media screen and (max-width: 768px){.add-device-page{padding:20px;border-radius:12px}}@media screen and (max-width: 480px){.add-device-page{padding:16px;border-radius:8px}}.add-device-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}@media screen and (max-width: 768px){.add-device-page .page-header{margin-bottom:24px}}@media screen and (max-width: 480px){.add-device-page .page-header{margin-bottom:20px}}.add-device-page .page-header .header-left{display:flex;align-items:center;gap:24px}@media screen and (max-width: 480px){.add-device-page .page-header .header-left{gap:16px}}.add-device-page .page-header .header-left .back-button{font-size:22px;background:none;border:none;cursor:pointer;color:#f4f6fb;padding:0 6px 0 0;line-height:1;transition:color .2s;display:flex;align-items:center}@media screen and (max-width: 480px){.add-device-page .page-header .header-left .back-button{font-size:20px;padding:4px}}.add-device-page .page-header .header-left .back-button:hover{color:#555}.add-device-page .page-header .header-left h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}@media screen and (max-width: 768px){.add-device-page .page-header .header-left h1{font-size:32px}}@media screen and (max-width: 480px){.add-device-page .page-header .header-left h1{font-size:24px}}.add-device-page .add-device-content{display:flex;flex-direction:column;gap:32px}@media screen and (max-width: 768px){.add-device-page .add-device-content{gap:24px}}@media screen and (max-width: 480px){.add-device-page .add-device-content{gap:20px}}.add-device-page .add-device-section{background:#23284a80;border-radius:16px;padding:32px 28px;box-shadow:0 2px 8px #38cfff0d;border:1px solid rgba(56,207,255,.1)}@media screen and (max-width: 768px){.add-device-page .add-device-section{padding:24px 20px;border-radius:12px}}@media screen and (max-width: 480px){.add-device-page .add-device-section{padding:20px 16px;border-radius:10px}}.add-device-page .add-device-section h2{font-size:24px;font-weight:700;margin:0 0 8px;color:#f4f6fb}@media screen and (max-width: 768px){.add-device-page .add-device-section h2{font-size:22px}}@media screen and (max-width: 480px){.add-device-page .add-device-section h2{font-size:20px}}.add-device-page .add-device-section .section-description{color:#bfc9da;font-size:17px;margin:0 0 24px}@media screen and (max-width: 768px){.add-device-page .add-device-section .section-description{font-size:16px;margin-bottom:20px}}@media screen and (max-width: 480px){.add-device-page .add-device-section .section-description{font-size:15px;margin-bottom:16px}}.add-device-page .add-device-section .selected-card,.add-device-page .add-device-section .MuiCard-root.selected-card{border:2px solid #a259ff!important;box-shadow:0 2px 8px #a259ff}.add-device-page .add-device-section .MuiCard-root{border:1px solid rgba(56,207,255,.1);transition:border .2s}.add-device-page .add-device-section input,.add-device-page .add-device-section select,.add-device-page .add-device-section .MuiTextField-root,.add-device-page .add-device-section .MuiInputBase-root,.add-device-page .add-device-section .MuiOutlinedInput-root{width:100%;min-height:56px;font-size:18px;border-radius:10px;background:#23284a4d;box-sizing:border-box;color:#f4f6fb}@media screen and (max-width: 768px){.add-device-page .add-device-section input,.add-device-page .add-device-section select,.add-device-page .add-device-section .MuiTextField-root,.add-device-page .add-device-section .MuiInputBase-root,.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:48px;font-size:16px}}@media screen and (max-width: 480px){.add-device-page .add-device-section input,.add-device-page .add-device-section select,.add-device-page .add-device-section .MuiTextField-root,.add-device-page .add-device-section .MuiInputBase-root,.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:44px;font-size:15px}}.add-device-page .add-device-section .MuiInputBase-root,.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:56px;font-size:18px;border-radius:10px;background:#23284a4d;color:#f4f6fb}.add-device-page .add-device-section .MuiFormControl-root{width:100%;margin-bottom:0!important}.add-device-page .add-device-section .MuiFormLabel-root,.add-device-page .add-device-section .MuiInputLabel-root{font-size:16px;font-weight:600;color:#f4f6fb;margin-bottom:0;transform:translate(14px,18px) scale(1)}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiFormLabel-root,.add-device-page .add-device-section .MuiInputLabel-root{font-size:15px;transform:translate(14px,16px) scale(1)}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiFormLabel-root,.add-device-page .add-device-section .MuiInputLabel-root{font-size:14px;transform:translate(12px,14px) scale(1)}}.add-device-page .add-device-section .MuiFormLabel-root.Mui-focused,.add-device-page .add-device-section .MuiFormLabel-root.MuiFormLabel-filled,.add-device-page .add-device-section .MuiInputLabel-root.Mui-focused,.add-device-page .add-device-section .MuiInputLabel-root.MuiFormLabel-filled{transform:translate(14px,-9px) scale(.75)}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiFormLabel-root.Mui-focused,.add-device-page .add-device-section .MuiFormLabel-root.MuiFormLabel-filled,.add-device-page .add-device-section .MuiInputLabel-root.Mui-focused,.add-device-page .add-device-section .MuiInputLabel-root.MuiFormLabel-filled{transform:translate(14px,-8px) scale(.75)}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiFormLabel-root.Mui-focused,.add-device-page .add-device-section .MuiFormLabel-root.MuiFormLabel-filled,.add-device-page .add-device-section .MuiInputLabel-root.Mui-focused,.add-device-page .add-device-section .MuiInputLabel-root.MuiFormLabel-filled{transform:translate(12px,-7px) scale(.75)}}.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:56px;font-size:18px;border-radius:10px;background:#23284a4d;padding:0 14px;color:#f4f6fb}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:48px;font-size:16px;padding:0 12px}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiOutlinedInput-root{min-height:44px;font-size:15px;padding:0 10px}}.add-device-page .add-device-section .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline{border-color:#38cfff1a;border-width:1.5px}.add-device-page .add-device-section .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:#a259ff;border-width:2px}.add-device-page .add-device-section .MuiOutlinedInput-root .MuiSelect-select{min-height:56px!important;display:flex;align-items:center;padding:0}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiOutlinedInput-root .MuiSelect-select{min-height:48px!important}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiOutlinedInput-root .MuiSelect-select{min-height:44px!important}}.add-device-page .add-device-section .MuiMenuItem-root{font-size:17px;min-height:48px;padding:12px 14px}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiMenuItem-root{font-size:16px;min-height:44px;padding:10px 12px}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiMenuItem-root{font-size:15px;min-height:40px;padding:8px 10px}}.add-device-page .add-device-section .MuiFormHelperText-root{font-size:14px;color:#bfc9da;margin:4px 14px 0}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiFormHelperText-root{font-size:13px;margin:4px 12px 0}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiFormHelperText-root{font-size:12px;margin:3px 10px 0}}.add-device-page .add-device-section .MuiGrid-container{row-gap:24px}@media screen and (max-width: 768px){.add-device-page .add-device-section .MuiGrid-container{row-gap:20px}}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiGrid-container{row-gap:16px}}.add-device-page .add-device-section .MuiGrid-item{margin-bottom:0!important;display:flex;flex-direction:column;gap:8px}@media screen and (max-width: 480px){.add-device-page .add-device-section .MuiGrid-item{gap:6px}}.add-device-page .add-device-footer{display:flex;justify-content:space-between;margin-top:32px;padding:0 24px}@media screen and (max-width: 768px){.add-device-page .add-device-footer{margin-top:24px;padding:0 16px}}@media screen and (max-width: 480px){.add-device-page .add-device-footer{margin-top:20px;padding:0;flex-direction:column;gap:12px}}.add-device-page .add-device-footer button{padding:12px 32px;border-radius:8px;font-size:17px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;box-shadow:none;text-transform:none}@media screen and (max-width: 768px){.add-device-page .add-device-footer button{padding:10px 24px;font-size:16px}}@media screen and (max-width: 480px){.add-device-page .add-device-footer button{width:100%;padding:12px 20px;font-size:15px}}.add-device-page .add-device-footer button:first-child{background:#23284a80;color:#f4f6fb;border:1.5px solid rgba(56,207,255,.1)}.add-device-page .add-device-footer button:first-child:hover{background:#38cfff1a;color:#f4f6fb}.add-device-page .add-device-footer button:last-child{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none}.add-device-page .add-device-footer button:last-child:hover{background:#a259ff;color:#f4f6fb}.add-device-page .add-device-footer button:last-child:disabled{background:#23284a80;color:#bfc9da;cursor:not-allowed}.add-device-page .add-device-footer button:last-child:disabled:hover{background:#23284a80}.add-device-page .MuiLinearProgress-root{background-color:#23284a80!important;border-radius:4px;height:8px!important}.add-device-page .MuiLinearProgress-bar{background-color:#a259ff!important;border-radius:4px}.device-details-form .form-title{font-size:2rem;font-weight:700;margin-bottom:8px;text-align:left}@media screen and (max-width: 768px){.device-details-form .form-title{font-size:1.8rem}}@media screen and (max-width: 480px){.device-details-form .form-title{font-size:1.5rem}}.device-details-form .form-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px}@media screen and (max-width: 768px){.device-details-form .form-subtitle{font-size:1rem;margin-bottom:24px}}@media screen and (max-width: 480px){.device-details-form .form-subtitle{font-size:.9rem;margin-bottom:20px}}.device-details-form .form-row{margin-bottom:18px}@media screen and (max-width: 480px){.device-details-form .form-row{margin-bottom:16px}}.device-details-form .form-row:last-child{margin-bottom:0}.device-details-form label{display:block;font-weight:600;margin-bottom:8px;font-size:17px;color:#f4f6fb}@media screen and (max-width: 768px){.device-details-form label{font-size:16px}}@media screen and (max-width: 480px){.device-details-form label{font-size:15px;margin-bottom:6px}}.device-details-form input,.device-details-form select{width:100%;padding:14px 16px;border:1.5px solid rgba(56,207,255,.1);border-radius:10px;font-size:17px;background:#23284a4d;transition:border .2s;font-family:inherit;box-sizing:border-box;margin-bottom:0;color:#f4f6fb}@media screen and (max-width: 768px){.device-details-form input,.device-details-form select{padding:12px 14px;font-size:16px}}@media screen and (max-width: 480px){.device-details-form input,.device-details-form select{padding:10px 12px;font-size:15px}}.device-details-form input:focus,.device-details-form select:focus{border-color:#a259ff;outline:none}.device-details-form .form-row.two-cols{display:flex;gap:24px}@media (max-width: 700px){.device-details-form .form-row.two-cols{flex-direction:column;gap:0}}.device-details-form .form-row.two-cols .form-col{display:flex;flex-direction:column;gap:8px}@media (max-width: 700px){.device-details-form .form-row.two-cols .form-col{gap:6px}}.device-details-form .connection-methods{display:flex;gap:24px;margin-top:8px;flex-wrap:wrap}.device-details-form .connection-methods .connection-card{flex:1 1 120px;min-width:120px;max-width:200px;background:#23284a80;border:2px solid rgba(56,207,255,.1);border-radius:14px;padding:28px 0 18px;text-align:center;font-weight:600;font-size:17px;cursor:pointer;transition:border .2s,box-shadow .2s}.device-details-form .connection-methods .connection-card .icon{font-size:36px;display:block;margin-bottom:8px}.device-details-form .connection-methods .connection-card.selected{border-color:#a259ff;box-shadow:0 2px 8px #a259ff}.device-details-form .connection-methods .connection-card:hover{border-color:#a259ff}.configure-device-form .form-title{font-size:2rem;font-weight:700;margin-bottom:8px}.configure-device-form .form-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px}.configure-device-form .sensor-type-row{display:flex;gap:32px;justify-content:center;align-items:stretch;flex-wrap:wrap;margin-bottom:16px}@media (max-width: 900px){.configure-device-form .sensor-type-row{gap:20px}}@media (max-width: 700px){.configure-device-form .sensor-type-row{flex-direction:column;gap:18px;align-items:stretch}}.configure-device-form .sensor-type-card{flex:1 1 260px;min-width:260px;max-width:340px;background:#23284a80;border:2px solid rgba(56,207,255,.1);border-radius:16px;padding:38px 18px 28px;text-align:center;font-weight:600;font-size:18px;cursor:pointer;transition:border .2s,box-shadow .2s;display:flex;flex-direction:column;align-items:center;justify-content:center}.configure-device-form .sensor-type-card .icon{font-size:48px;margin-bottom:16px;color:#f4f6fb}.configure-device-form .sensor-type-card .sensor-type-label{font-size:1.2rem;font-weight:700;margin-bottom:8px;color:#f4f6fb}.configure-device-form .sensor-type-card .sensor-type-desc{color:#bfc9da;font-size:1rem;font-weight:400}.configure-device-form .sensor-type-card.selected{border-color:#a259ff;box-shadow:0 2px 8px #a259ff}.configure-device-form .sensor-type-card:hover{border-color:#a259ff}.select-device-category-form .form-title{font-size:2rem;font-weight:700;margin-bottom:8px}.select-device-category-form .form-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px}.select-device-category-form .category-row{display:flex;gap:32px;justify-content:center;align-items:stretch;flex-wrap:wrap;margin-bottom:16px}@media (max-width: 700px){.select-device-category-form .category-row{flex-direction:column;gap:18px;align-items:stretch}}.select-device-category-form .category-card{flex:1 1 260px;min-width:260px;max-width:340px;background:#23284a80;border:2px solid rgba(56,207,255,.1);border-radius:16px;padding:38px 18px 28px;text-align:center;font-weight:600;font-size:18px;cursor:pointer;transition:border .2s,box-shadow .2s;display:flex;flex-direction:column;align-items:center;justify-content:center}.select-device-category-form .category-card .icon{font-size:48px;margin-bottom:16px;color:#f4f6fb}.select-device-category-form .category-card .category-label{font-size:1.2rem;font-weight:700;margin-bottom:8px;color:#f4f6fb}.select-device-category-form .category-card .category-desc{color:#bfc9da;font-size:1rem;font-weight:400}.select-device-category-form .category-card.selected{border-color:#a259ff;box-shadow:0 2px 8px #a259ff}.select-device-category-form .category-card:hover{border-color:#a259ff}.connect-device-form .form-title{font-size:2rem;font-weight:700;margin-bottom:8px}.connect-device-form .form-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px}.connect-device-form .connect-instructions{background:#23284a80;border:1.5px solid rgba(56,207,255,.1);border-radius:16px;padding:28px 32px 18px;margin-bottom:32px}.connect-device-form .connect-instructions .instructions-title{font-size:1.15rem;font-weight:700;margin-bottom:12px;color:#f4f6fb}.connect-device-form .connect-instructions ol{margin:0;padding-left:20px;color:#f4f6fb;font-size:1rem}.connect-device-form .connect-instructions ol li{margin-bottom:6px;line-height:1.6}.connect-device-form .connect-ready{background:#23284a80;border:1.5px solid rgba(56,207,255,.1);border-radius:16px;padding:38px 0 28px;text-align:center;margin-bottom:0}.connect-device-form .connect-ready .connect-icon{margin-bottom:18px}.connect-device-form .connect-ready .connect-title{font-size:1.25rem;font-weight:700;margin-bottom:8px;color:#f4f6fb}.connect-device-form .connect-ready .connect-desc{color:#bfc9da;font-size:1rem;margin-bottom:22px}.connect-device-form .connect-ready .connect-btn{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;border-radius:8px;padding:14px 38px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .2s}.connect-device-form .connect-ready .connect-btn:hover{background:#a259ff}.review-device-form{max-width:700px;margin:0 auto;padding:0 0 16px;text-align:center}.review-device-form .review-success-icon{margin-bottom:18px}.review-device-form .review-title{font-size:2rem;font-weight:700;margin-bottom:8px}.review-device-form .review-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px}.review-device-form .review-summary-block{background:#23284a80;border:1.5px solid rgba(56,207,255,.1);border-radius:16px;padding:28px 32px 18px;margin-bottom:32px;display:flex;flex-direction:column;align-items:center}.review-device-form .review-summary-block .review-summary-title{font-size:1.15rem;font-weight:700;margin-bottom:18px;color:#f4f6fb}.review-device-form .review-summary-block .review-summary-table{width:100%;max-width:400px;display:flex;flex-direction:column;gap:10px}.review-device-form .review-summary-block .review-summary-table div{display:flex;justify-content:space-between;font-size:1rem}.review-device-form .review-summary-block .review-summary-table div span:first-child{color:#bfc9da}.review-device-form .review-summary-block .review-summary-table div span:last-child{color:#f4f6fb;font-weight:500}.review-device-form .review-footer{display:flex;justify-content:space-between;margin-top:32px}.review-device-form .review-footer .review-btn-secondary{background:#23284a80;color:#f4f6fb;border:1.5px solid rgba(56,207,255,.1);border-radius:8px;padding:12px 32px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.review-device-form .review-footer .review-btn-secondary:hover{background:#38cfff1a}.review-device-form .review-footer .review-btn-primary{background:linear-gradient(135deg,#a259ff,#38cfff);color:#f4f6fb;border:none;border-radius:8px;padding:12px 32px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .2s}.review-device-form .review-footer .review-btn-primary:hover{background:#a259ff}@media (max-width: 768px){.add-device-page{padding:16px}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.page-header .header-left{gap:16px}.page-header .header-left h1{font-size:28px}.add-device-section{padding:20px}.form-title{font-size:1.5rem}.form-subtitle{font-size:1rem}.form-row{margin-bottom:18px}.form-row input,.form-row select{padding:12px;font-size:1rem}.review-btn-primary,.review-btn-secondary{padding:10px 24px;font-size:1rem}.add-device-footer button{padding:8px 16px;font-size:.9rem}}@media (max-width: 700px){.form-row{margin-bottom:18px}.form-row.two-cols{margin-bottom:0;flex-direction:column;gap:0}.form-row.two-cols>div{margin-bottom:18px}.form-row.two-cols>div:last-child{margin-bottom:0}.form-row input,.form-row select{margin-bottom:0}}.add-room-page{margin:0 auto;background:#181c2f;border-radius:24px;padding:40px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a}@media screen and (max-width: 768px){.add-room-page{padding:20px;border-radius:12px}}@media screen and (max-width: 480px){.add-room-page{padding:16px;border-radius:8px}}.add-room-page .page-header{display:flex;justify-content:flex-start;align-items:center;margin-bottom:32px}@media screen and (max-width: 768px){.add-room-page .page-header{margin-bottom:24px}}@media screen and (max-width: 480px){.add-room-page .page-header{margin-bottom:20px}}.add-room-page .page-header .header-left{display:flex;align-items:center;gap:24px}@media screen and (max-width: 480px){.add-room-page .page-header .header-left{gap:16px}}.add-room-page .page-header .header-left .back-button{font-size:22px;background:none;border:none;cursor:pointer;color:#38cfff;padding:0 6px 0 0;line-height:1;transition:color .2s;display:flex;align-items:center}@media screen and (max-width: 480px){.add-room-page .page-header .header-left .back-button{font-size:20px;padding:4px}}.add-room-page .page-header .header-left .back-button:hover{color:#a259ff}.add-room-page .page-header .header-left h1{font-size:38px;font-weight:700;color:#f4f6fb;background:none;-webkit-background-clip:unset;-webkit-text-fill-color:unset;background-clip:unset;text-fill-color:unset;text-shadow:none;margin:0}@media screen and (max-width: 768px){.add-room-page .page-header .header-left h1{font-size:32px}}@media screen and (max-width: 480px){.add-room-page .page-header .header-left h1{font-size:24px}}.add-room-page .add-room-section{background:#23284a;border-radius:16px;padding:32px 28px;box-shadow:0 2px 12px #2c304d1a;margin:40px auto;color:#f4f6fb}@media screen and (max-width: 768px){.add-room-page .add-room-section{padding:24px 20px;border-radius:12px;margin:32px auto}}@media screen and (max-width: 480px){.add-room-page .add-room-section{padding:20px 16px;border-radius:10px;margin:24px auto}}.add-room-page .form-title{font-size:2rem;font-weight:700;margin-bottom:8px;text-align:center;color:#f4f6fb}@media screen and (max-width: 768px){.add-room-page .form-title{font-size:1.8rem}}@media screen and (max-width: 480px){.add-room-page .form-title{font-size:1.5rem}}.add-room-page .form-subtitle{color:#bfc9da;font-size:1.1rem;margin-bottom:32px;text-align:center}@media screen and (max-width: 768px){.add-room-page .form-subtitle{font-size:1rem;margin-bottom:24px}}@media screen and (max-width: 480px){.add-room-page .form-subtitle{font-size:.9rem;margin-bottom:20px}}.add-room-page .form-row{margin-bottom:28px}@media screen and (max-width: 768px){.add-room-page .form-row{margin-bottom:24px}}@media screen and (max-width: 480px){.add-room-page .form-row{margin-bottom:20px}}.add-room-page .form-row label{display:block;font-weight:600;margin-bottom:8px;font-size:17px;color:#f4f6fb}@media screen and (max-width: 768px){.add-room-page .form-row label{font-size:16px}}@media screen and (max-width: 480px){.add-room-page .form-row label{font-size:15px;margin-bottom:6px}}.add-room-page .form-row input{width:100%;padding:14px 16px;border:1.5px solid #23284a;border-radius:10px;font-size:17px;background:#181c2f;color:#f4f6fb;transition:border .2s,background .2s,color .2s;font-family:inherit;box-sizing:border-box;margin-bottom:0}@media screen and (max-width: 768px){.add-room-page .form-row input{padding:12px 14px;font-size:16px}}@media screen and (max-width: 480px){.add-room-page .form-row input{padding:10px 12px;font-size:15px}}.add-room-page .form-row input:focus{border-color:#38cfff;outline:none;background:#23284a;color:#f4f6fb}.add-room-page .form-row.two-cols{display:flex;gap:24px}.add-room-page .form-row.two-cols>div{flex:1}@media (max-width: 700px){.add-room-page .form-row.two-cols{flex-direction:column;gap:0}}.add-room-page .button-container{display:flex;flex-direction:row;gap:12px}@media screen and (max-width: 768px){.add-room-page .button-container{gap:10px}}@media screen and (max-width: 480px){.add-room-page .button-container{gap:8px}}.add-room-page .review-btn-primary,.add-room-page .review-btn-secondary{width:100%;max-width:100%;box-sizing:border-box;padding:12px 32px;font-size:1.1rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .2s ease}@media screen and (max-width: 768px){.add-room-page .review-btn-primary,.add-room-page .review-btn-secondary{padding:10px 24px;font-size:1rem}}@media screen and (max-width: 480px){.add-room-page .review-btn-primary,.add-room-page .review-btn-secondary{padding:12px 20px;font-size:.95rem}}.add-room-page .review-btn-primary{background:#111;color:#fff;border:none}.add-room-page .review-btn-primary:hover{background:#222}.add-room-page .review-btn-secondary{background:#fff;color:#111;border:1.5px solid #bbb}.add-room-page .review-btn-secondary:hover{background:#f6f6f6}.profile{margin:0 auto;background:#181c2f;border-radius:24px;padding:32px;color:#f4f6fb;box-shadow:0 8px 32px #38cfff1a;position:relative}.profile .profile-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.profile .profile-header-row h1{font-size:2rem;font-weight:700;color:#f4f6fb;margin:0}.profile .profile-header-row .save-btn{background:linear-gradient(135deg,#a259ff,#38cfff);color:#fff;border:none;border-radius:14px;padding:12px 32px;font-size:1.1rem;font-weight:600;box-shadow:0 4px 16px #38cfff21;cursor:pointer;transition:all .2s}.profile .profile-header-row .save-btn:hover{filter:brightness(1.1);box-shadow:0 6px 24px #38cfff2e}.profile .profile-tabs{display:flex;gap:16px;margin-bottom:24px}.profile .profile-tabs button{background:#23284a;color:#f4f6fb;border:none;border-radius:16px 16px 0 0;padding:10px 32px;font-size:1.1rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:none;border-bottom:2.5px solid transparent}.profile .profile-tabs button:hover{background:#2a2f58}.profile .profile-tabs button.active{background:#181c2f;color:#38cfff;border-bottom:2.5px solid #38cfff;font-weight:700;box-shadow:0 4px 16px #38cfff14}.profile .profile-tab-content{width:100%}.profile .profile-main-card{background:#23284a;border-radius:20px;box-shadow:0 4px 24px #38cfff1a;padding:32px 24px;display:flex;flex-direction:column;gap:24px}.profile .profile-main-row{display:flex;gap:32px;align-items:flex-start}@media (max-width: 700px){.profile .profile-main-row{flex-direction:column;align-items:center;gap:20px}}.profile .profile-avatar-block{display:flex;flex-direction:column;align-items:center;gap:16px}.profile .profile-avatar-block img{width:110px;height:110px;border-radius:50%;border:3px solid #38cfff;box-shadow:0 2px 12px #38cfff21}.profile .profile-avatar-block .change-avatar-btn{background:#38cfff1a;border:1px solid #38cfff;color:#38cfff;padding:7px 18px;border-radius:8px;font-size:.95rem;cursor:pointer;transition:all .2s}.profile .profile-avatar-block .change-avatar-btn:hover{background:#38cfff;color:#fff}.profile .profile-fields{flex:1;display:flex;flex-direction:column;gap:18px;min-width:220px}.profile .profile-field{display:flex;flex-direction:column;gap:6px}.profile .profile-field label{color:#bfc9da;font-size:1rem;font-weight:600}.profile .profile-field .profile-value{background:#181c2f;color:#f4f6fb;border-radius:12px;padding:12px 18px;font-size:1.08rem;font-weight:500;box-shadow:0 1.5px 8px #38cfff0a;border:1px solid #23284a;min-width:120px;word-break:break-all}.profile .profile-alerts-list{display:flex;flex-direction:column;gap:24px}.profile .profile-alert-card{background:#23284a;border-radius:16px;box-shadow:0 2px 12px #38cfff14;padding:20px 24px;display:flex;align-items:flex-start;gap:18px;border:1px solid #23284a}.profile .profile-alert-card .switch{margin-top:4px}.profile .profile-alert-card .alert-info{flex:1}.profile .profile-alert-card .alert-info .alert-title{color:#f4f6fb;font-size:1.13rem;font-weight:700;margin-bottom:6px}.profile .profile-alert-card .alert-info .alert-desc{color:#bfc9da;font-size:1rem;font-weight:400}.profile .switch{position:relative;display:inline-block;width:44px;height:28px}.profile .switch input{opacity:0;width:0;height:0}.profile .switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#181c2f;border:2px solid #38cfff;border-radius:28px;transition:background .2s,border-color .2s}.profile .switch .slider:before{content:"";position:absolute;left:2px;top:50%;transform:translateY(-50%);width:20px;height:20px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1.5px 8px #38cfff1a}.profile .switch input:checked+.slider{background:linear-gradient(135deg,#a259ff,#38cfff);border-color:#38cfff}.profile .switch input:checked+.slider:before{transform:translate(18px,-50%)}.profile-input{background:#181c2f;color:#f4f6fb;border:1px solid #23284a;border-radius:12px;padding:12px 18px;font-size:1.08rem;font-weight:500;box-shadow:0 1.5px 8px #38cfff0a;min-width:120px;transition:border-color .2s,box-shadow .2s;width:100%;margin:0}.profile-input:focus{outline:none;border-color:#38cfff;box-shadow:0 0 0 2px #38cfff1a}aside{position:fixed;display:flex;flex-direction:column;align-items:flex-start;background:#1a1e32;color:#f4f6fb;width:240px;height:100vh;padding:24px;z-index:50;transition:all .3s;box-shadow:0 2px 16px #38cfff1a}aside.collapsed{width:80px;padding:24px 12px;align-items:center}aside.collapsed .logo-container h1{display:none}aside.collapsed .user__info{display:none}aside.collapsed .logout__btn span{display:none}aside.collapsed nav ul li{justify-content:center;padding:12px}aside.collapsed nav ul li span{display:none}aside.collapsed .sidebar-header{justify-content:center}aside.collapsed .user__wrap{justify-content:center;padding:4px}aside.collapsed .logout__btn{justify-content:center;padding:8px}aside.collapsed .collapse-btn{right:-12px}@media (max-width: 767px){aside{width:80px;padding:24px 12px;flex-direction:column;align-items:center}aside .logo-container h1{display:none}aside .user__info{display:none}aside .logout__btn span{display:none}aside nav{display:block;margin-top:20px;width:100%}aside nav ul li{padding:12px;justify-content:center}aside nav ul li span{display:none}aside .sidebar-header{justify-content:center}aside .user__wrap{justify-content:center;padding:4px}aside .logout__btn{justify-content:center;padding:8px}aside .toggle-btn{display:none}}aside .collapse-btn{position:absolute;right:-16px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:#1a1e32;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#f4f6fb;box-shadow:0 2px 8px #0003;transition:all .3s}@media (max-width: 767px){aside .collapse-btn{display:none}}aside .collapse-btn svg{width:16px;height:16px;stroke:currentColor}aside .collapse-btn:hover{background:linear-gradient(135deg,#a259ff,#38cfff);color:#1a1e32}aside .sidebar-header{display:flex;align-items:center;gap:12px;width:100%}aside .sidebar-header .logo-container{display:flex;align-items:center;gap:12px}aside .sidebar-header .logo-container svg{width:32px;height:32px;color:#f4f6fb;fill:#f4f6fb}aside .sidebar-header .logo-container h1{font-family:Montserrat,sans-serif;font-size:20px;font-weight:700;margin:0;color:#f4f6fb}@media (max-width: 767px){aside .sidebar-header .logo-container h1{display:none}}aside .sidebar-header .toggle-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:none;background:none;cursor:pointer;border-radius:8px;transition:all .2s;color:#f4f6fb}@media (max-width: 767px){aside .sidebar-header .toggle-btn{display:flex}}aside .sidebar-header .toggle-btn svg,aside .sidebar-header .toggle-btn path{color:#f4f6fb!important;fill:#f4f6fb!important;stroke:#f4f6fb!important;filter:drop-shadow(0 0 6px rgba(56,207,255,.5333333333));transition:filter .2s}aside .sidebar-header .toggle-btn:hover{background:#a259ff1a}aside .sidebar-header .toggle-btn:hover svg,aside .sidebar-header .toggle-btn:hover path{filter:drop-shadow(0 0 12px rgba(56,207,255,.8))}aside nav{flex:1;display:flex;width:100%;margin-top:40px}aside nav ul{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;width:100%}aside nav ul li{display:flex;align-items:center;padding:12px 16px;border-radius:16px;gap:16px;font-size:14px;font-weight:500;color:#f4f6fb;cursor:pointer;transition:all .2s;background:transparent}aside nav ul li .nav-icon{width:20px;height:20px;stroke:currentColor;transition:all .2s;flex-shrink:0}aside nav ul li:hover,aside nav ul li.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#1a1e32;box-shadow:0 2px 12px #a259ff1a}aside nav ul li:hover .nav-icon,aside nav ul li.active .nav-icon{stroke:#1a1e32}aside .sidebar-footer{display:flex;flex-direction:column;gap:16px;width:100%;margin-top:auto;padding-top:24px;border-top:1px solid rgba(244,246,251,.1)}@media (max-width: 767px){aside .sidebar-footer{flex-direction:column;align-items:center;justify-content:center;margin-top:20px;padding-top:20px;border-top:none;gap:12px}}aside .sidebar-footer .user__wrap{display:flex;align-items:center;gap:12px;margin:0;padding:8px;border-radius:16px;cursor:pointer;background:#2c304deb;color:#f4f6fb}@media (max-width: 767px){aside .sidebar-footer .user__wrap{width:48px;height:48px;padding:8px;justify-content:center}}aside .sidebar-footer .user__wrap .user__icon{width:32px;height:32px;border-radius:50%}aside .sidebar-footer .user__wrap .user__info p{margin:0;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f4f6fb}aside .sidebar-footer .logout__btn{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:8px 16px;border:none;background:none;cursor:pointer;border-radius:8px;transition:all .2s;color:#f4f6fb;width:100%}@media (max-width: 767px){aside .sidebar-footer .logout__btn{width:48px;height:48px;padding:8px;justify-content:center}}aside .sidebar-footer .logout__btn svg{width:24px;height:24px;stroke:currentColor}aside .sidebar-footer .logout__btn span{font-size:14px;font-weight:500}aside .sidebar-footer .logout__btn:hover{background:#f4f6fb1a;color:#38cfff}.logout__title{color:#232323;margin-bottom:24px;font-size:20px;font-weight:700;line-height:24.2px}.logout__text{color:#232323;margin-bottom:24px;font-size:20px;line-height:24.2px}.logout__actions{width:376px;display:flex;gap:16px}.logout__btn{display:grid;place-content:center;flex:1 1 50%;margin:0;padding:16px;border-radius:16px;border:1px solid transparent}.logout__btn.cancel{border-color:#e5e7eb;color:#232323;background:#fff}.logout__btn.cancel:hover{background-color:#f3f4f6}.logout__btn.logout{border-color:#ff5050;background-color:#ff5050;color:#fff}.logout__btn.logout:hover{border-color:#fd3232;background-color:#fd3232}@media (max-width: 767px){aside{background:#1a1e32;color:#f4f6fb}aside nav{background:#1a1e32}aside nav ul{background:transparent}aside nav ul li{color:#f4f6fb;background:transparent}aside nav ul li:hover,aside nav ul li.active{background:linear-gradient(135deg,#a259ff,#38cfff);color:#1a1e32;box-shadow:0 2px 12px #a259ff1a}}.notification-bell{position:fixed;bottom:20px;right:20px;width:50px;height:50px;border-radius:50%;background-color:#111;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px #0003;z-index:1000;transition:transform .2s ease-in-out}.notification-bell svg{width:24px;height:24px;color:#fff}.notification-bell:hover{transform:scale(1.1)}.notification-bell:active{transform:scale(.95)}:root{font-family:Roboto,sans-serif;color:#f4f6fb;background:#181c2f}select{appearance:none;-webkit-appearance:none;-moz-appearance:none}#root{width:100%;-webkit-user-select:none;user-select:none}*{box-sizing:border-box;padding:0;margin:0}body{background:#181c2f;color:#f4f6fb;margin:0;display:flex;min-width:320px;min-height:100vh;height:100%;transition:background .3s}body::-webkit-scrollbar{width:6px}body::-webkit-scrollbar-thumb{background:#a259ff;border-radius:6px;box-shadow:0 0 8px #38cfff}body::-webkit-scrollbar-track{background:#23284a}ul{list-style:none;color:#f4f6fb}.container{display:flex;height:100%;background:#23284a;border-radius:24px;box-shadow:0 8px 32px #1f268726}main{width:100%;padding:40px;height:100%;background:#181c2f;color:#f4f6fb;transition:all .3s;margin-left:240px;box-sizing:border-box}@media screen and (max-width: 768px){main{padding:40px 20px;margin-left:80px;width:calc(100% - 80px)}}@media screen and (max-width: 480px){main{padding:70px 20px;margin-left:80px;width:calc(100% - 80px)}}aside.collapsed+main{margin-left:80px;width:calc(100% - 80px)}@media screen and (max-width: 768px){aside.collapsed+main{margin-left:80px;width:calc(100% - 80px)}}@media screen and (max-width: 480px){aside.collapsed+main{margin-left:80px;width:calc(100% - 80px)}}.main-auth{max-width:unset;width:100%;padding:0;margin-left:0}.leaflet-control-zoom{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important;background:#ffffff80!important;-webkit-backdrop-filter:blur(2px)!important;backdrop-filter:blur(2px)!important;width:137px!important;padding:8px!important;border:none!important;border-radius:0!important;margin:0!important}.leaflet-control-zoom:after{position:absolute;content:"Scale";font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.07px;right:40px;top:10px}.leaflet-control-zoom:before{position:absolute;content:url(https://res.cloudinary.com/dvjdkgzbe/image/upload/v1699618319/water%20IOT/iconamoon_search_ug4nf7.svg);width:16px;height:16px;left:40px;top:12px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border:none!important;border-radius:8px!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;background:#cfd4e2!important;color:#232323!important}.custom-marker{position:relative}.custom-marker:before{position:absolute;content:"";width:21.5px!important;height:21.5px!important;left:45.25px;bottom:0;background:#343f5c;border-radius:50%}.custom-marker:after{position:absolute;content:"";width:112px!important;height:112px!important;background:#343f5c;border-radius:50%;opacity:.2}.password-input{position:relative}.password-input img{position:absolute;width:24px;height:24px;right:8px;top:40px;cursor:pointer}.password-input input{padding-right:40px!important}.validation-error{margin:4px 0!important;font-size:14px!important;color:#d9302f;font-weight:400!important;position:absolute;bottom:-24px;right:0}button:disabled{background-color:#bdbdbd;border-color:#bdbdbd;color:#fff;cursor:not-allowed}.main-button-dark,.main-button-light{width:100%;height:40px;font-size:16px;font-style:normal;font-weight:500;line-height:normal;color:#f4f6fb;border:1px solid #a259ff;background:linear-gradient(135deg,#a259ff,#38cfff);cursor:pointer;border-radius:10px;box-shadow:0 2px 12px #a259ff1a;transition:background .2s,color .2s,box-shadow .2s}.main-button-dark:hover,.main-button-light:hover{background:#38cfff;color:#181c2f;box-shadow:0 4px 24px #38cfff2e}.main-button-dark:disabled,.main-button-light:disabled{background:#23284a;color:#bfc9da;border-color:#23284a;cursor:not-allowed;box-shadow:none}.main-button-light{color:#232323;border:1px solid #232323;background:#fff;cursor:pointer;transition:all .2s linear}.main-button-light:hover{color:#fff}textarea{font-family:Roboto,sans-serif}.input-wrap{position:relative;width:479px}@media screen and (max-width: 768px){.input-wrap{width:100%;max-width:479px}}@media screen and (max-width: 480px){.input-wrap{width:100%}}.input-wrap svg{position:absolute;top:16px}.input-wrap svg:first-child{left:16px}.input-wrap svg:last-child{top:0;left:0}.input-wrap svg:last-child path{fill:#232323}.input-wrap input{padding:8px 40px;font-size:16px;font-style:normal;font-weight:400;background:#e9f1f5;width:100%;border-radius:16px;border:none;height:56px}@media screen and (max-width: 480px){.input-wrap input{height:48px;font-size:14px;padding:8px 36px}}.input-wrap input::placeholder{color:#6c7096}.input-wrap input:focus{outline:none!important;border:none!important}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay .modal-content{background:#fff;border-radius:8px;width:100%;max-width:420px;box-shadow:0 12px 32px #0000001a;position:relative;border:none;overflow:hidden;padding:24px;max-height:90vh;overflow-y:auto}@media screen and (max-width: 480px){.modal-overlay .modal-content{padding:20px;margin:0 16px}}.modal-overlay .modal-content::-webkit-scrollbar{width:6px}.modal-overlay .modal-content::-webkit-scrollbar-thumb{background-color:#0003;border-radius:6px}.modal-overlay .modal-content::-webkit-scrollbar-track{background-color:#0000000d;border-radius:6px}.modal-overlay .modal-content .modal-header{padding:0 0 24px;border-bottom:none;display:flex;justify-content:space-between;align-items:center}@media screen and (max-width: 480px){.modal-overlay .modal-content .modal-header{padding:0 0 20px}}.modal-overlay .modal-content .modal-header h2{font-weight:500;font-size:20px;line-height:32.36px;color:#2e314e}@media screen and (max-width: 480px){.modal-overlay .modal-content .modal-header h2{font-size:18px;line-height:28px}}.modal-overlay .modal-content .modal-header .close-button{background:none;border:none;font-size:24px;color:#2e314e;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}@media screen and (max-width: 480px){.modal-overlay .modal-content .modal-header .close-button{width:20px;height:20px;font-size:20px}}.modal-overlay .modal-content form{padding:0}.modal-overlay .modal-content form .form-group{margin-bottom:24px;position:relative}@media screen and (max-width: 480px){.modal-overlay .modal-content form .form-group{margin-bottom:20px}}.modal-overlay .modal-content form .form-group label{display:block;margin-bottom:4px;font-weight:400;font-size:16px;line-height:25.89px;color:#2e314e}@media screen and (max-width: 480px){.modal-overlay .modal-content form .form-group label{font-size:14px;line-height:22px}}.modal-overlay .modal-content form .form-group input,.modal-overlay .modal-content form .form-group select,.modal-overlay .modal-content form .form-group textarea{width:100%;padding:18px 24px;border:none;border-radius:8px;font-size:15px;background:#e9f1f5}@media screen and (max-width: 480px){.modal-overlay .modal-content form .form-group input,.modal-overlay .modal-content form .form-group select,.modal-overlay .modal-content form .form-group textarea{padding:14px 20px;font-size:14px}}.modal-overlay .modal-content form .form-group input:focus,.modal-overlay .modal-content form .form-group select:focus,.modal-overlay .modal-content form .form-group textarea:focus{outline:none;border:none}.modal-overlay .modal-content form .form-group input::placeholder,.modal-overlay .modal-content form .form-group select::placeholder,.modal-overlay .modal-content form .form-group textarea::placeholder{color:#6c7096}.modal-overlay .modal-content form .form-group textarea{min-height:100px;resize:vertical}.modal-overlay .modal-content form .form-group .search-container{position:relative;margin-bottom:8px}.modal-overlay .modal-content form .form-group .search-container .search-input{padding-right:40px}.modal-overlay .modal-content form .form-group .search-container .selected-item{position:absolute;left:16px;top:50%;transform:translateY(-50%);background:#00c2881a;color:#00c288;padding:2px 8px;border-radius:4px;font-size:14px;max-width:calc(100% - 80px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}.modal-overlay .modal-content form .form-group .search-container .search-input.has-selected{color:transparent}.modal-overlay .modal-content form .form-group .search-container .search-input.has-selected::placeholder{color:transparent}.modal-overlay .modal-content form .form-group .search-container .dropdown-indicator{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#6c7096;pointer-events:auto;cursor:pointer;transition:transform .2s ease;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.modal-overlay .modal-content form .form-group .search-container .dropdown-indicator.active{transform:translateY(-50%) rotate(180deg)}.modal-overlay .modal-content form .form-group .dropdown-container{position:absolute;width:100%;max-height:200px;overflow-y:auto;border-radius:16px;background:#fff;z-index:1001;box-shadow:0 4px 16px #0000001a;animation:fadeIn .2s ease}.modal-overlay .modal-content form .form-group .dropdown-container::-webkit-scrollbar{width:6px}.modal-overlay .modal-content form .form-group .dropdown-container::-webkit-scrollbar-thumb{background-color:#00000026;border-radius:6px}.modal-overlay .modal-content form .form-group .dropdown-container::-webkit-scrollbar-track{background-color:#00000005;border-radius:6px}.modal-overlay .modal-content form .form-group .dropdown-container .dropdown-item{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #F5F5F5;cursor:pointer}.modal-overlay .modal-content form .form-group .dropdown-container .dropdown-item:hover{background-color:#f9f9f9}.modal-overlay .modal-content form .form-group .dropdown-container .dropdown-item:last-child{border-bottom:none}.modal-overlay .modal-content form .form-group .dropdown-container .dropdown-item input[type=checkbox]{margin-right:12px;width:18px;height:18px;cursor:pointer;background:#e9f1f5}.modal-overlay .modal-content form .form-group .dropdown-container .dropdown-item label{margin:0;cursor:pointer;flex-grow:1}.modal-overlay .modal-content form .form-group .dropdown-container .no-results{padding:16px;color:#6c7096;text-align:center;font-size:14px}.modal-overlay .modal-content form .modal-footer{display:flex;justify-content:center;gap:0;margin-top:24px}@media screen and (max-width: 480px){.modal-overlay .modal-content form .modal-footer{margin-top:20px}}.modal-overlay .modal-content form .modal-footer button{padding:18px 24px;border-radius:16px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;width:100%}@media screen and (max-width: 480px){.modal-overlay .modal-content form .modal-footer button{padding:14px 20px;font-size:14px}}.modal-overlay .modal-content form .modal-footer button.cancel-button{display:none}.modal-overlay .modal-content form .modal-footer button.submit-button{background:#000;color:#fff;border:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
