.index-main-container{background-image:url("/images/bg_6.jpeg");background-size:cover;background-repeat:no-repeat;background-position:center;min-width:100vw;min-height:100vh;padding-top:50px;padding-bottom:20px}.index-card-container{display:flex;justify-content:center;align-items:center;gap:50px;flex-direction:column}.outer-index-card{display:flex;gap:200px;align-items:baseline}.index-card{display:flex;flex-direction:column;justify-content:center;border-radius:12px;box-shadow:0 4px 8px rgba(0,0,0,.1);padding:20px;width:240px;height:300px;text-align:center;transition:transform .3s ease,box-shadow .3s ease}.index-card:hover{transform:translateY(-10px);box-shadow:0 8px 16px rgba(0,0,0,.2)}.index-card h3{margin:0 0 10px;font-size:1.5rem;color:#fff}.index-card p{margin:0;color:#fff;font-size:1rem}.index-card-bottom{background-color:#9381ff}.index-card-top{background-color:#292538}@media (max-width:768px){.outer-index-card{max-width:100%;flex-direction:column;align-items:center;gap:50px}.index-card{height:auto;padding:20px}.index-card h3{font-size:1.25rem}.index-card p{font-size:.875rem}}.my-account-title{margin-top:35px}.my-account-form{margin:20px 0}.my-account-text{text-align:center}.plus-button{width:60px;height:60px;background-color:#007bff;color:#fff;font-size:clamp(1.5rem, 4vw, 2rem);margin-bottom:40px;border:none;border-radius:50%;cursor:pointer;box-shadow:0 4px 8px rgba(0,0,0,.2);transition:background-color .3s}.plus-button:hover{background-color:#0056b3}.bracelet-grid{width:80%;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;padding:20px;justify-items:center}.my-account-edit-user-buttton{position:fixed;left:20px;margin-top:5px;font-size:16px;min-height:32px;min-width:80px;border:none;text-align:center;align-content:center;text-decoration:none;color:#fff;background-color:#9381ff;transition:background-color .3s ease}.my-account-edit-user-buttton:hover{background-color:#816bfe}.my-account-edit-user-buttton:active{background-color:#4828fc}.my-account-edit-user-buttton:disabled{background-color:#f2f0fe;cursor:default}.register-container{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;height:auto;width:600px;max-width:95%;margin-bottom:40px}.register-title{padding-top:30px;margin-bottom:80px;font-size:clamp(1.5rem, 4vw, 2rem)}.register-form{width:60%;display:flex;flex-direction:column;gap:30px;flex:2}.register-form input{height:30px;padding-left:10px;font-size:16px;border:1px solid #dbdbdb;border-radius:14px;margin-top:-20px}.register-agreement{font-size:14px;display:flex;flex-wrap:wrap;gap:5px;align-self:center;width:max-content}.register-agreement input[type=checkbox]{margin-top:0;margin-right:5px;transform:scale(1.2)}.register-agreement-message{align-self:center}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--shell-max:1440px;--sidebar-w:320px;--grid-gap:18px}.dashboard-shell{max-width:var(--shell-max);margin:0 auto;padding:16px 24px 48px}.dashboard-grid{display:grid;grid-template-columns:var(--sidebar-w) 1fr;gap:var(--grid-gap);align-items:start}.sidebar{position:sticky;top:88px;background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);padding:16px;display:grid;gap:14px}.content{display:grid;gap:18px}.activities-table,.epochs-table,.stats-table,.table-card{width:100%;background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);padding:16px;overflow-x:auto}.stats-table-content,.table-card table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;table-layout:fixed}.stats-table-content td,.stats-table-content th,.table-card td,.table-card th{padding:10px 12px;text-align:left;border-bottom:1px solid #e6e6e6;white-space:nowrap}.stats-table-content thead th{background:#f6f6f8;font-weight:600;position:sticky;top:0;z-index:7}.stats-table-content .sticky-col.start{position:sticky;left:0;z-index:9;background:#fafafa;box-shadow:6px 0 6px -6px rgba(0,0,0,.12)}.stats-table-content .sticky-col.activity{position:sticky;left:var(--start-col-w,120px);z-index:8;background:#fff;box-shadow:6px 0 6px -6px rgba(0,0,0,.08)}.activities-table table.stats-table-content,.epochs-table table.stats-table-content{--start-col-w:120px;--activity-col-w:180px;--duration-col-w:170px;--distance-col-w:150px;min-width:1280px}.activities-table table.stats-table-content col.col-start,.epochs-table table.stats-table-content col.col-start{width:var(--start-col-w)}.activities-table table.stats-table-content col.col-activity,.epochs-table table.stats-table-content col.col-activity{width:var(--activity-col-w)}.activities-table table.stats-table-content col.col-activity-name,.epochs-table table.stats-table-content col.col-activity-name{min-width:220px}.activities-table table.stats-table-content col.col-duration,.epochs-table table.stats-table-content col.col-duration{width:var(--duration-col-w)}.activities-table table.stats-table-content col.col-starttime,.epochs-table table.stats-table-content col.col-starttime{width:160px}.activities-table table.stats-table-content col.col-small,.epochs-table table.stats-table-content col.col-small{min-width:110px}.activities-table table.stats-table-content col.col-med,.epochs-table table.stats-table-content col.col-med{min-width:150px}.activities-table table.stats-table-content col.col-device,.epochs-table table.stats-table-content col.col-device{min-width:200px}.activities-table table.stats-table-content col.col-geo,.epochs-table table.stats-table-content col.col-geo{min-width:140px}.activities-table table.stats-table-content col.col-distance,.epochs-table table.stats-table-content col.col-distance{width:var(--distance-col-w)}.th-wrap{white-space:normal;line-height:1.2}.th-nowrap{white-space:nowrap}.content{grid-auto-rows:minmax(0,auto)}.content>*{min-width:0;min-height:0}.panel{background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06)}.panel.chart-card{position:relative;height:520px;padding:12px}.panel.chart-card canvas,.panel.chart-card svg{width:100%!important;height:100%!important;display:block}@media (max-width:1280px){.activities-table table.stats-table-content,.epochs-table table.stats-table-content{--duration-col-w:180px}}@media (max-width:1024px){.dashboard-grid{grid-template-columns:1fr}.sidebar{position:static}}.air-title{text-align:center;font-size:2.5rem;color:#333;margin-top:80px;margin-bottom:40px}.air-info-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:40px;flex-wrap:wrap}.air-table-wrapper{background:rgba(255,255,255,.95);padding:20px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.1);max-width:900px;margin:0 auto}.air-table-container{overflow-x:auto}.air-table{width:100%;max-width:800px;justify-self:center;border-collapse:collapse;margin-top:10px;table-layout:fixed}.air-table td,.air-table th{padding:12px;text-align:center;border-bottom:1px solid #ccc;white-space:nowrap}.air-table td:nth-child(3),.air-table th:nth-child(3){width:150px}.aqi-value{display:block;margin:0 auto;font-weight:700;color:#000;border-radius:8px;padding:8px 12px;min-width:120px}.aqi-1{background:#00e400}.aqi-2{background:#ff0;color:#000}.aqi-3{background:#ff7e00;color:#000}.aqi-4{background:red;color:#fff}.aqi-5{background:#8f3f97;color:#fff}.air-status{text-align:center;font-style:italic;color:#666;margin-top:20px}.air-footer{display:flex;flex-direction:column;align-self:center}.air-coordinates{text-align:center;font-size:.9rem;color:#444;margin-top:15px}.air-source{text-align:center;font-size:.9rem;color:#444;margin-top:10px}.air-bar-container{width:100%;background-color:#eee;height:12px;border-radius:6px;overflow:hidden}.air-bar-fill{height:100%;transition:width .3s ease}.air-scale-legend{display:flex;justify-content:space-around;flex-wrap:wrap;margin-bottom:10px;padding:10px 0;gap:8px;text-align:center;align-self:center;font-size:.8rem}.air-scale-box{width:70px;height:auto;font-weight:700;border-radius:6px;line-height:1.2;color:#000;padding:6px 4px}.air-scale-box small{display:block;font-weight:400;font-size:.75rem;margin-top:4px}.air-scale-box.aqi-1{background:#00e400}.air-scale-box.aqi-2{background:#ff0}.air-scale-box.aqi-3{background:#ff7e00}.air-scale-box.aqi-4{background:red}.air-scale-box.aqi-5{background:#8f3f97}.fetch-section,.mode-switch{display:flex;gap:12px;justify-content:center;margin:8px 0 16px}.btn-active{filter:saturate(1.2)}.air-title{text-align:center;font-size:2.2rem;color:#333;margin:40px 0 20px}.air-table-container{overflow-x:auto}.air-table{width:100%;max-width:980px;margin:10px auto 0;border-collapse:collapse;table-layout:fixed}.air-table td,.air-table th{padding:12px;text-align:center;border-bottom:1px solid #ddd;white-space:nowrap}.aqi-value{display:inline-block;font-weight:700;color:#000;border-radius:8px;padding:6px 10px;min-width:120px}.aqi-1{background:#00e400}.aqi-2{background:#ff0;color:#000}.aqi-3{background:#ff7e00;color:#000}.aqi-4{background:red;color:#fff}.aqi-5{background:#8f3f97;color:#fff}.air-bar-container{width:100%;background:#eee;height:12px;border-radius:6px;overflow:hidden}.air-bar-fill{height:100%;transition:width .3s ease}.air-scale-legend{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:10px auto}.air-scale-box{width:70px;padding:6px 4px;border-radius:6px;text-align:center;font-weight:700;line-height:1.2}.air-scale-box small{display:block;font-weight:400;font-size:.75rem;margin-top:4px}.air-footer{display:flex;flex-direction:column;align-items:center;margin:18px 0}.air-coordinates,.air-source{text-align:center;color:#444}.mode-switch{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 16px}.switch-label-left,.switch-label-right{font-size:.95rem;color:#333}.source-switch{position:relative;display:inline-block;width:60px;height:32px}.source-switch input{opacity:0;width:0;height:0}.source-switch .slider{position:absolute;cursor:pointer;inset:0;background:#e6e6ee;border-radius:9999px;transition:background .2s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.source-switch .slider::before{content:"";position:absolute;height:24px;width:24px;left:4px;top:4px;background-color:#fff;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:transform .2s ease}.source-switch input:checked+.slider{background:#8b7bff}.source-switch input:checked+.slider::before{transform:translateX(28px)}@media (max-width:768px){.air-title{font-size:2rem;margin-top:60px;margin-bottom:20px}.air-info-container{gap:20px;padding:0 10px}.air-scale-legend{gap:6px}.air-scale-box{width:60px;padding:4px 2px;font-size:.75rem}.air-table td,.air-table th{padding:8px;font-size:.85rem}.aqi-value{padding:6px 8px;min-width:80px}}.users-edit-form{display:flex;flex-direction:column;gap:10px}.login-modal-container{position:fixed;top:0;left:0;right:0;bottom:0;overflow:auto;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,.5);backdrop-filter:blur(8px);z-index:10;transition:opacity .3s ease,visibility .3s ease}.login-modal-content{position:fixed;height:450px;width:650px;max-width:80%;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;background:#fff;border:1px solid rgba(146,146,146,.621);border-radius:20px;box-shadow:0 5px 5px rgba(0,0,0,.2);z-index:20;transition:opacity .3s ease,visibility .3s ease}.login-modal-title{padding-top:30px;margin-bottom:80px;font-size:clamp(1.5rem, 4vw, 2rem)}.login-modal-form{width:60%;display:flex;flex-direction:column;gap:30px;flex:2}.login-modal-form input{height:30px;padding-left:10px;font-size:16px;border:1px solid #dbdbdb;border-radius:14px;margin-top:-20px}.login-modal-close-button{margin:10px 20px;padding:5px;position:absolute;font-size:28px;right:0;top:0;cursor:pointer}.login-modal-close-button:hover{background-color:rgba(162,162,162,.309);border-radius:6px}.login-modal-close-button:active{background-color:rgba(162,162,162,.6);border-radius:6px}@media (max-width:768px){.login-modal-content{max-width:80%;max-height:90%}.login-modal-title{padding-top:20px;margin-bottom:10vh}}.patient-card{border:1px solid #ddd;border-radius:10px;padding:20px;background-color:#fff;box-shadow:0 4px 6px rgba(0,0,0,.1);position:relative;width:250px;height:150px;margin:20px auto}.patient-card-body{display:flex;flex-direction:column;gap:10px}.patient-name{font-size:20px;font-weight:700}.patient-bracelet-brand{font-size:16px;color:#555}.delete-button{position:absolute;bottom:10px;right:10px;background:0 0;border:none;cursor:pointer}.text-danger{color:red}.patient-go-to-dashboard{position:absolute;bottom:10px;left:10px;padding:10px}.patient-edit{position:absolute;bottom:10px;left:50px;padding:10px}.bracelet-card{border:1px solid #ddd;border-radius:10px;padding:20px;background-color:#fff;box-shadow:0 4px 6px rgba(0,0,0,.1);position:relative;max-width:350px;margin:20px auto}.bracelet-card-body{display:flex;flex-direction:column;gap:10px}.bracelet-name{font-size:20px;font-weight:700}.bracelet-brand,.bracelet-model{font-size:16px;color:#555}.bracelet-api{font-size:14px;color:#666;padding-bottom:15px}.masked-api{font-family:monospace;background:rgba(0,0,0,.1);padding:2px 4px;border-radius:4px}.dashboard-link{position:absolute;bottom:10px;left:10px;background:0 0;border:none;cursor:pointer}.delete-button{position:absolute;bottom:10px;right:10px;background:0 0;border:none;cursor:pointer}.text-danger{color:red}.go-to-dashboar{position:absolute;bottom:10px;left:10px;background:0 0;border:none;cursor:pointer}.bracelet-form-modal-container{position:fixed;top:0;left:0;right:0;bottom:0;overflow:auto;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,.5);backdrop-filter:blur(8px);z-index:10;transition:opacity .3s ease,visibility .3s ease}.bracelet-form-modal-content{position:fixed;height:700px;width:650px;max-width:80%;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;background:#fff;border:1px solid rgba(146,146,146,.621);border-radius:20px;box-shadow:0 5px 5px rgba(0,0,0,.2);z-index:20;transition:opacity .3s ease,visibility .3s ease}.bracelet-form-modal-title{padding-top:25px;margin-bottom:40px;font-size:clamp(1.5rem, 4vw, 2rem)}.bracelet-form-modal-form{width:60%;display:flex;flex-direction:column;gap:30px;flex:2}.bracelet-form-modal-form input{height:30px;padding-left:10px;font-size:16px;border:1px solid #dbdbdb;border-radius:14px;margin-top:-20px}.bracelet-form-modal-close-button{margin:10px 20px;padding:5px;position:absolute;font-size:28px;right:0;top:0;cursor:pointer}.bracelet-form-modal-close-button:hover{background-color:rgba(162,162,162,.309);border-radius:6px}.bracelet-form-modal-close-button:active{background-color:rgba(162,162,162,.6);border-radius:6px}.header-container{background-color:#292538;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 20px;gap:10px}.header-left{display:flex;align-items:center;gap:15px;flex:1 1 auto}.header-left a{color:#fff;text-decoration:none}.header-title{font-size:clamp(1.25rem, 5vw, 2rem);white-space:nowrap}.language-toggle{position:relative;width:60px;height:26px;background:#937fff;border-radius:13px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;cursor:pointer}.toggle-switch{position:absolute;top:1px;left:1px;width:24px;height:24px;background:#816bee;border-radius:50%;transition:transform .3s}.toggle-left .toggle-switch{transform:translateX(0)}.toggle-right .toggle-switch{transform:translateX(32px)}.toggle-label{font-size:.75rem;z-index:1;color:#333}.header-right{display:flex;align-items:center;gap:15px;flex:1 1 auto;justify-content:flex-end}.header-right .header-ai-button{color:#d4ff00}.header-right .header-button,.header-right a{display:flex;align-items:center;gap:6px;color:#fff;font-size:clamp(.9rem, 2.5vw, 1.1rem);text-decoration:none;padding:6px 10px;border-radius:6px;white-space:nowrap;cursor:pointer}.header-right a svg{width:1.2em;height:1.2em}@media (max-width:600px){.header-left{flex-basis:100%;justify-content:space-between}.header-right{flex-basis:100%;justify-content:space-around;flex-wrap:wrap}.header-right .header-button,.header-right a{font-size:.85rem;padding:4px 8px}.language-toggle{width:50px;height:22px;padding:0 3px}.toggle-switch{width:20px;height:20px}.toggle-right .toggle-switch{transform:translateX(28px)}.toggle-label{font-size:.7rem}}.footer{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background-color:#f4f4f4;border-top:1px solid #ddd;font-size:clamp(.75rem, 1.5vw, .9rem);flex-wrap:nowrap}.footer-left,.footer-right{flex:1 1 0;display:flex;gap:25px;white-space:nowrap}.footer-center{flex:0 1 auto;margin:0 10px;text-align:center;white-space:nowrap}.footer-right{justify-content:flex-end}.footer .footer-link{text-decoration:none;color:#007bff}@media (max-width:768px){.footer{flex-wrap:wrap;padding:8px 16px;font-size:clamp(.7rem, 2.5vw, .85rem)}.footer-center{order:1;flex-basis:100%;margin-bottom:8px}.footer-left{order:2;justify-content:flex-start;margin-bottom:4px;gap:12px}.footer-right{order:3;justify-content:flex-end;gap:12px}}.submit-button{font-size:16px;min-height:32px;min-width:80px;border:none;border-radius:14px;color:#fff;background-color:#9381ff;transition:background-color .3s ease}.submit-button:hover{background-color:#816bfe}.submit-button:active{background-color:#4828fc}.submit-button:disabled{background-color:#f2f0fe;cursor:default}.stats-table-title{font-size:clamp(1.5rem, 4vw, 2rem);font-weight:700;color:#333;margin:15px 0;text-align:center}.stats-table{width:100%;max-width:100%;margin:0;padding:20px;background:#fff;box-shadow:0 4px 8px rgba(0,0,0,.1);border-radius:12px;overflow-x:auto;overflow-y:visible}.stats-table .stats-table-subtitle{font-size:16px;color:#333;margin-bottom:15px;text-align:center}.stats-table table{width:100%;min-width:720px;border-collapse:collapse}.stats-table td,.stats-table th{padding:12px;text-align:left;border-bottom:1px solid #ddd;white-space:nowrap}.stats-table th{background:#f4f4f4;font-weight:600}.stats-table tr:nth-child(2n){background:#f9f9f9}.stats-table .stats-metric-name{font-weight:500;color:#555}.stats-table .stats-metric-data{color:#777}@media (max-width:768px){.stats-table{padding:16px}.stats-table table{min-width:560px}}.outer-fitness-age-card{display:flex;flex-wrap:wrap;gap:24px;align-items:start}.fitness-age-card{display:flex;flex-direction:column;justify-content:center;border-radius:12px;box-shadow:0 4px 8px rgba(0,0,0,.1);padding:20px;width:240px;min-height:300px;text-align:center;transition:transform .3s ease,box-shadow .3s ease}.fitness-age-card:hover{transform:translateY(-6px);box-shadow:0 8px 16px rgba(0,0,0,.2)}.fitness-age-card h3{margin:0 0 10px;font-size:1.5rem;color:#fff}.fitness-age-card p{margin:0;color:#fff;font-size:1rem}.fitness-age-card-bottom{background-color:#9381ff}body{margin:0;font-family:"Inter var","Inter web",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.layout{display:flex;flex-direction:column;min-height:100vh}.main{display:flex;flex-direction:column;align-items:center;width:100%;min-height:100vh;flex:1}.select-field{padding:5px 2px;border-radius:20px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #f3f3f3;border-top:2px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin-right:8px}.toast-success{background-color:#51a351}.toast-warning{background-color:#f89406}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}