.theme-control{display:flex;align-items:center;gap:9px;font:10px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.02em;color:#b5c5af}.theme-control button.theme-switch{position:relative;display:block;width:58px;height:32px;min-height:32px;flex-shrink:0;border:1px solid #9cae8d70;border-radius:99px;padding:0;background:#101b14;cursor:pointer;touch-action:pan-y;box-shadow:inset 0 2px 4px #0002}.theme-switch-thumb{position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:#edf2e1;box-shadow:0 2px 5px #0003;transition:transform .22s ease,background .22s;display:grid;place-items:center;font-size:13px;color:#344737}.theme-switch[aria-checked=true] .theme-switch-thumb{transform:translateX(26px);background:#c9d9b6;color:#192b1e}.theme-control[data-selected=light] .theme-label-light,.theme-control[data-selected=dark] .theme-label-dark{color:#f4f7ec;font-weight:700}.customer-theme header .theme-control{position:absolute;top:30px;right:28px}.admin-theme .logo .theme-control{margin-top:23px}.theme-switch-thumb:before{content:'☀'}.theme-switch[aria-checked=true] .theme-switch-thumb:before{content:'☾'}button.theme-switch:active{transform:none!important}button.theme-switch:focus-visible{outline:2px solid #d2dfbc;outline-offset:4px}
html[data-theme=light] .theme-switch{background:#58715a}html[data-theme=light] .admin-theme .main-content{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--bg-color:#101612;--surface-color:#1a221c;--primary-color:#bdd0a8;--primary-hover:#d5e1c5;--text-main:#e7ecdf;--text-muted:#a2ad99;--border-color:#344331;--danger-color:#e5a291;--success-color:#bdd0a8;--warning-color:#d8bc88;--shadow-soft:0 12px 45px #00000013}
html[data-theme=dark] body{background:#101612;color:#e7ecdf}html[data-theme=dark] input:not([type=checkbox]):not([type=file]),html[data-theme=dark] textarea,html[data-theme=dark] select{color-scheme:dark!important;background:#151d17;color:#ecf0e4;border-color:#3d4a36}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#7d8c72}html[data-theme=dark] input:focus,html[data-theme=dark] textarea:focus,html[data-theme=dark] select:focus{border-color:#94ad7e;box-shadow:0 0 0 4px #b3cd8d10}html[data-theme=dark] :focus-visible{outline-color:#bdd0a8}
html[data-theme=dark] .customer-theme{background:radial-gradient(ellipse at 0 0,#223320 0,transparent 50%),#0e140f}html[data-theme=dark] .customer-theme .app-container{background:#19211b;border-color:#35402f;box-shadow:0 26px 85px #0003}html[data-theme=dark] .customer-theme header{background:#203124}html[data-theme=dark] .customer-theme header h1{color:#f1efdf}html[data-theme=dark] .customer-theme header p{color:#aebe9f}html[data-theme=dark] .customer-theme header .eyebrow{color:#d4bd8a}html[data-theme=dark] .customer-theme .customer-nav{background:#111b12;border-color:#2e3d29}html[data-theme=dark] .customer-theme .customer-nav button{color:#9cad8d}html[data-theme=dark] .customer-theme .customer-nav button.active{background:#c7d7af;color:#1c2b1c;box-shadow:0 3px 10px #0002}html[data-theme=dark] .customer-theme h2{color:#e5ebd7}html[data-theme=dark] .customer-theme .barber-card{background:#1c281e;border-color:#36482f;color:#e4ebd8}html[data-theme=dark] .customer-theme .barber-card:hover{background:#273a23;border-color:#91aa74;box-shadow:0 8px 24px #0002}html[data-theme=dark] .customer-theme .barber-card h3{color:#e4edd8}html[data-theme=dark] .customer-theme .barber-card p:not(.barber-bio){color:#9daf8d}html[data-theme=dark] .customer-theme .avatar{background:#34462b;border-color:#253621;color:#dce7c8}html[data-theme=dark] .customer-theme .duration-label{background:#2b3b23;border-color:#405432;color:#b5ca9e}html[data-theme=dark] .customer-theme .barber-bio{border-color:#35492c;color:#9baa8b}html[data-theme=dark] .customer-theme input:not([type=checkbox]):not([type=file]),html[data-theme=dark] .customer-theme #payment-method{background:#121c14;border-color:#3b4b31;color:#e8eddf}html[data-theme=dark] .customer-theme label{color:#b1c1a1}html[data-theme=dark] .customer-theme .input-group>p{color:#93a582}html[data-theme=dark] .customer-theme .primary-btn{background:#c7d7af;color:#1d2d1b;box-shadow:0 6px 16px #0002}html[data-theme=dark] .customer-theme .primary-btn:hover{background:#dde7cd}html[data-theme=dark] .customer-theme .secondary-btn{border-color:#49623a;color:#c7d8b2;background:#24351f}html[data-theme=dark] .customer-theme .secondary-btn:hover{background:#33482a}html[data-theme=dark] .customer-theme .back-btn{color:#adbd9c}html[data-theme=dark] .customer-theme .summary-box{background:#23321d;border-color:#3b502d;color:#c5d5b1}html[data-theme=dark] .customer-theme .time-slot{background:#1b2b19;border-color:#3b512e;color:#d9e8c8}html[data-theme=dark] .customer-theme .time-slot:hover:not(:disabled){background:#cadbb0;color:#1e301b;border-color:#cadbb0}html[data-theme=dark] .customer-theme .time-slot:disabled{background:#161e14;border-color:#293525;color:#69765e}html[data-theme=dark] .customer-theme .studio-footer{background:#141e14;border-color:#2b3b25;color:#829571}html[data-theme=dark] .customer-theme .studio-footer span:first-child{color:#adbf98}html[data-theme=dark] .customer-theme #message,html[data-theme=dark] .customer-theme #lookup-message{color:#e8b09d}html[data-theme=dark] .customer-theme .lookup-section>.eyebrow{color:#a6ba8c}html[data-theme=dark] .customer-theme .lookup-section>p{color:#a3b392}html[data-theme=dark] .customer-theme .appointment-card{background:#20311b;border-color:#415833}html[data-theme=dark] .customer-theme .appointment-card h3{color:#dae8c5}html[data-theme=dark] .customer-theme .appointment-card p{border-color:#3b4c30;color:#dee8cf}html[data-theme=dark] .customer-theme .appointment-card p span{color:#9eb489}html[data-theme=dark] .customer-theme .appointment-card .cancel-note{color:#b1c49e}html[data-theme=dark] .customer-theme .cancel-appointment{background:#3c2b21;border-color:#77543d;color:#e9bca0}html[data-theme=dark] .customer-theme .success-icon{background:#334c24;color:#d0e4b5}html[data-theme=dark] .customer-theme .success-state p{color:#b1c09f}html[data-theme=dark] .customer-theme .booking-code{background:#24371b;border-color:#4c6336}html[data-theme=dark] .customer-theme .booking-code small{color:#b9ca9d}html[data-theme=dark] .customer-theme #booking-reference{color:#e4efd2}html[data-theme=dark] .customer-theme .booking-code button{background:#344d25;border-color:#5f7a46;color:#dfebcc}
html[data-theme=dark] .admin-theme{background:#101612}html[data-theme=dark] .admin-theme .sidebar{background:#141f16}html[data-theme=dark] .admin-theme .main-content{background:#101612;color:#e5eadc}html[data-theme=dark] .admin-theme .logo{border-color:#34402b}html[data-theme=dark] .admin-theme .logo h2{color:#e9eddb}html[data-theme=dark] .admin-theme .nav-item{color:#a9ba9b}html[data-theme=dark] .admin-theme .nav-item.active{background:#c6d7ab;color:#1d2e19}html[data-theme=dark] .admin-theme .topbar{border-color:#2b3b26}html[data-theme=dark] .admin-theme .topbar h1{color:#e0e9d1}html[data-theme=dark] .admin-theme #logout-button{border-color:#415734;color:#b5cba0}html[data-theme=dark] .admin-theme .stat-card{background:#1c291b;border-color:#34482b}html[data-theme=dark] .admin-theme .stat-card:first-child{background:#c5d5ac;border-color:#c5d5ac}html[data-theme=dark] .admin-theme .stat-card:first-child h3{color:#51683e}html[data-theme=dark] .admin-theme .stat-card:first-child .value{color:#263d1b}html[data-theme=dark] .admin-theme .stat-card h3{color:#9caf8b}html[data-theme=dark] .admin-theme .stat-card .value{color:#d4e5bb}html[data-theme=dark] .admin-theme .filter-section{background:#1b281a;border-color:#35492c}html[data-theme=dark] .admin-theme .filter-section label{color:#9cb589}html[data-theme=dark] .admin-theme #refresh-button{background:#2c4321;border-color:#476234;color:#c3d9ad}html[data-theme=dark] .admin-theme .table-container{background:#192618;border-color:#34492a}html[data-theme=dark] .admin-theme th{background:#263a1e;color:#a2bc8b}html[data-theme=dark] .admin-theme td{border-color:#2b3e22;color:#cddcbd}html[data-theme=dark] .admin-theme tr:hover td{background:#263a1f}html[data-theme=dark] .admin-theme .btn-action{background:#304a22;border-color:#4b6935;color:#c1d9a6}html[data-theme=dark] .admin-theme .btn-action:last-child{background:#3d2e20;border-color:#665236;color:#d6b894}html[data-theme=dark] .admin-theme .editor-card{background:#1b291a;border-color:#354b2c}html[data-theme=dark] .admin-theme .editor-card h2,html[data-theme=dark] .admin-theme .section-heading h2{color:#d8e8c1}html[data-theme=dark] .admin-theme .editor-card>p,html[data-theme=dark] .admin-theme .section-heading p{color:#98af84}html[data-theme=dark] .admin-theme .editor-card label{color:#abc396}html[data-theme=dark] .admin-theme .editor-card input,html[data-theme=dark] .admin-theme .editor-card textarea,html[data-theme=dark] .admin-theme .editor-card select,html[data-theme=dark] .admin-theme .filter-section input,html[data-theme=dark] .admin-theme .filter-section select{background:#13200f;border-color:#405832;color:#dfebd0}html[data-theme=dark] .admin-theme .editor-card .checkbox-label{color:#b2c99d}html[data-theme=dark] .admin-theme .save-button{background:#c5d7a9;border-color:#c5d7a9;color:#23371a}html[data-theme=dark] .admin-theme .archive-button,html[data-theme=dark] .admin-theme [data-cancel-add]{background:#3d2d20;border-color:#6d4e32;color:#ddb594}html[data-theme=dark] .admin-theme .employee-photo{background:#3f582d;border-color:#2c3f20;color:#d5e6bb}html[data-theme=dark] .admin-theme .staff-card-heading h3{color:#deebce}html[data-theme=dark] .admin-theme .staff-card-heading small{color:#91aa7c}html[data-theme=dark] .admin-theme .photo-actions .upload-label{background:#2d4520;border-color:#4b6536;color:#bed6a4}html[data-theme=dark] .admin-theme .photo-actions button{border-color:#445b34;color:#aec696}html[data-theme=dark] .admin-theme .photo-help{color:#9fb58b}html[data-theme=dark] .admin-theme .schedule-details,html[data-theme=dark] .admin-theme .schedule-day{border-color:#344b27}html[data-theme=dark] .admin-theme .schedule-details summary{color:#b9d1a1}html[data-theme=dark] .admin-theme .schedule-times input:disabled{background:#1b2816;color:#758669}html[data-theme=dark] .admin-theme .leave-add button{background:#314a22;color:#c0d7a8;border-color:#4a6533}html[data-theme=dark] .admin-theme .storage-note{color:#8da57a}html[data-theme=dark] .admin-theme #login-panel{background:#1c2a19;border-color:#3a502e}html[data-theme=dark] .admin-theme #login-panel h1{color:#dfebcf}html[data-theme=dark] .admin-theme #login-panel p,html[data-theme=dark] .admin-theme #login-form label{color:#a3b98f}html[data-theme=dark] .admin-theme #login-form button{background:#c7d8ac;color:#223818}html[data-theme=dark] .admin-theme #admin-message{color:#e8b49d}html[data-theme=dark] .admin-theme .employee-editor .save-feedback{color:#c6dfa9}
@media(max-width:768px){.admin-theme .logo .theme-control{grid-column:1/-1;grid-row:3;margin:14px 0 0 49px}}
@media(max-width:560px){.customer-theme header .theme-control{top:27px;right:23px;font-size:9px;gap:7px}.theme-control button.theme-switch{width:56px;height:30px;min-height:30px}.theme-switch-thumb{width:20px;height:20px}.theme-switch[aria-checked=true] .theme-switch-thumb{transform:translateX(26px)}}
@media(prefers-reduced-motion:reduce){.theme-switch-thumb{transition:none}}
