body{background:linear-gradient(135deg,#0f172a,#1e3a8a);height:100vh}.login-container{justify-content:center;align-items:center;height:100vh;display:flex}.login-box{text-align:center;background:#fff;border-radius:16px;width:360px;padding:30px;animation:.5s ease-in-out fadeIn;box-shadow:0 12px 30px #00000040}.login-box h2{color:#1e293b;margin-bottom:5px;font-size:28px}.login-box p{color:#64748b;margin-bottom:20px;font-size:14px}.login-box input{border:1px solid #e2e8f0;border-radius:8px;outline:none;width:100%;margin-bottom:14px;padding:12px;font-size:14px;transition:all .3s}.login-box input:focus{border-color:#2563eb;box-shadow:0 0 6px #2563eb4d}.login-box button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:12px;font-size:16px;transition:all .3s}.login-box button:hover{background:#1d4ed8}.demo{color:#475569;background:#f1f5f9;border-radius:8px;margin-top:15px;padding:10px;font-size:13px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}body{background:#f5f7fb;margin:0;font-family:Arial,sans-serif}.dashboard{padding:30px}.title{color:#1e293b;margin-bottom:20px}.grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.card{cursor:pointer;background:#fff;border-radius:14px;padding:20px;transition:all .2s;box-shadow:0 3px 10px #00000014}.card:hover{transform:translateY(-5px);box-shadow:0 6px 18px #0000001f}.icon{margin-bottom:10px;font-size:28px}*{box-sizing:border-box;margin:0;padding:0}.pos-container{background:#f5f5f5;max-width:1200px;min-height:100vh;margin:0 auto;padding:20px;font-family:Arial,Helvetica,sans-serif}.pos-header{color:#fff;background:#0f172a;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:15px 20px;display:flex}.header-buttons{align-items:center;gap:10px;display:flex}.pos-header h2{color:#fff;margin:0;font-size:24px}.header-buttons button{cursor:pointer;color:#fff;border:none;border-radius:6px;padding:10px 18px;font-size:10px;font-weight:400;transition:all .3s}.new-btn{background:#2563eb}.new-btn:hover{background:#1d4ed8}.del-btn{background:#dc2626}.del-btn:hover{background:#b91c1c}.logout-btn{background:#475569}.logout-btn:hover{background:#334155}.top-section{grid-template-columns:1fr;gap:20px;margin-bottom:20px;display:grid}.customer-box{align-items:center;gap:10px;width:100%;display:flex}.customer-box label{min-width:80px;font-weight:600}.customer-search{flex:1;align-items:center;gap:8px;display:flex}.customer-input{border:1px solid #ccc;border-radius:6px;outline:none;flex:1;height:40px;padding:0 12px;font-size:15px}.customer-input:focus{border-color:#1976d2;box-shadow:0 0 3px #1976d24d}.search-btn{color:#fff;cursor:pointer;background:#1976d2;border:none;border-radius:6px;min-width:90px;height:40px;padding:0 18px;font-size:14px;font-weight:600}.search-btn:hover{background:#1259a7}.staff-box select:focus{border-color:#1976d2;outline:none}.selected-box{width:100%}.selected-box strong{color:#222;font-size:16px;display:block}.selected-box p{color:#666;margin-top:4px;font-size:14px}.action-bar{gap:15px;margin-bottom:20px;display:flex}.service-btn,.therapist-btn{color:#fff;cursor:pointer;border:none;border-radius:8px;flex:1;height:50px;font-size:16px;font-weight:600;transition:all .3s}.service-btn{background:#2563eb}.service-btn:hover{background:#1d4ed8}.therapist-btn{background:#16a34a}.therapist-btn:hover{background:#15803d}.selected-services-box{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 10px #00000014}.selected-services-box h3{color:#333;margin-bottom:15px}.service-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:12px 0;display:flex}.total-row{border-top:2px solid #ddd;justify-content:space-between;margin-top:15px;padding-top:15px;font-size:18px;font-weight:700;display:flex}.save-button{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:8px;width:100%;margin-top:20px;padding:14px;font-size:17px;font-weight:600;transition:all .3s}.save-button:hover{background:#218838}.save-button:disabled{cursor:not-allowed;background:#bbb}.customer-popup{z-index:9999;background:#00000080;justify-content:center;align-items:flex-start;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.popup-card{background:#fff;border-radius:10px;width:420px;max-width:95%;margin:auto 0;animation:.25s popupScale;box-shadow:0 10px 30px #0003}@keyframes popupScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.service-popup{flex-direction:column;width:90%;max-width:1100px;max-height:calc(100vh - 40px);padding:0;display:flex}.popup-header{z-index:10;background:#fff;border-bottom:1px solid #ddd;justify-content:space-between;align-items:center;padding:18px 20px;display:flex;position:sticky;top:0}.popup-header h3{color:#333;font-size:20px}.popup-content{flex:1;padding:20px;overflow-y:auto}.popup-card input{border:1px solid #ccc;border-radius:6px;width:100%;margin-bottom:15px;padding:12px;font-size:15px}.popup-card input:focus{border-color:#1976d2;outline:none}.customer-popup-list{border:1px solid #ddd;border-radius:6px;max-height:300px;overflow-y:auto}.popup-item{cursor:pointer;border-bottom:1px solid #eee;padding:15px;transition:all .2s}.popup-item:last-child{border-bottom:none}.popup-item:hover{background:#f5f8ff}.popup-item strong{font-size:16px;display:block}.popup-item p{color:#666;margin-top:5px;font-size:14px}.new-customer-btn,.close-btn,.modal-actions button{cursor:pointer;border:none;border-radius:6px;padding:10px 16px;font-size:10px;transition:all .3s}.new-customer-btn{color:#fff;background:#28a745}.new-customer-btn:hover{background:#218838}.close-btn{color:#fff;background:#dc3545}.close-btn:hover{background:#bb2d3b}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.modal-actions button:first-child{color:#fff;background:#1976d2}.modal-actions button:first-child:hover{background:#1259a8}.modal-actions button:last-child{color:#fff;background:#6c757d}.modal-actions button:last-child:hover{background:#5a6268}.customer-popup-list::-webkit-scrollbar{width:6px}.popup-content::-webkit-scrollbar{width:6px}.customer-popup-list::-webkit-scrollbar-thumb{background:#bbb;border-radius:10px}.popup-content::-webkit-scrollbar-thumb{background:#bbb;border-radius:10px}.customer-popup-list::-webkit-scrollbar-track{background:#f1f1f1}.popup-content::-webkit-scrollbar-track{background:#f1f1f1}.customer-popup-list,.popup-content{scrollbar-width:thin}.price-input-group{border:1px solid #ccc;border-radius:4px;align-items:center;display:flex;overflow:hidden}.price-input-group span{background:#f3f4f6;padding:6px 8px;font-weight:700}.price-input-group input{border:none;outline:none;width:80px;padding:6px}.service-table{background:#fff;border:1px solid #dcdcdc;border-radius:8px;width:100%;overflow:hidden}.service-header,.service-row,.service-footer{grid-template-columns:1fr 100px 120px 120px;align-items:center;display:grid!important}.service-header{color:#fff;background:#0f172a;font-weight:600}.service-header div,.service-row div,.service-footer div{padding:12px 10px}.service-row{border-bottom:1px solid #ececec}.service-row:last-child{border-bottom:none}.service-row:nth-child(2n){background:#f8fafc}.service-row:hover{background:#eef4ff}.service-footer{background:#f1f5f9;border-top:2px solid #dcdcdc;font-weight:600}.total-label{text-align:right;grid-column:1/span 3;padding-right:15px}.total-amount{text-align:right;color:#0f172a;font-size:16px}.qty-input,.price-input{text-align:center;border:1px solid #cbd5e1;border-radius:5px;outline:none;width:70px;height:34px;padding:5px}.price-input{width:90px}.qty-input:focus,.price-input:focus{border-color:#2563eb;box-shadow:0 0 4px #2563eb40}.amount{text-align:right;color:#111827;font-weight:600}.selected-therapists{margin:20px 0}.therapist-chip{color:#fff;background:#2563eb;border-radius:20px;margin:5px;padding:8px 14px;font-size:14px;display:inline-block}.popup-item{align-items:center;gap:10px;display:flex}.popup-item input{width:18px;height:18px}.payment-section{background:#fff;border:1px solid #ddd;border-radius:8px;margin-top:20px;padding:15px}.payment-section h4{margin-bottom:10px}.payment-options{gap:25px;display:flex}.payment-option{cursor:pointer;align-items:center;gap:6px;display:flex}.remarks{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;width:100%;margin-top:12px;padding:10px;font-size:14px}.time-section{flex-wrap:wrap;align-items:center;gap:15px;margin:15px 0;display:flex}.time-group{align-items:center;gap:8px;display:flex}.time-group label{white-space:nowrap;margin-bottom:0;font-weight:600}.time-group input[type=date]{width:170px;height:38px;padding:0 10px}.time-group input[type=time]{width:110px;height:38px;padding:0 10px}.time-group input{border:1px solid #ccc;border-radius:6px;font-size:14px}.service-grid{grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:20px;display:grid}.service-card{cursor:pointer;background:#fff;border-radius:15px;align-items:center;padding:15px;transition:all .3s;display:flex;box-shadow:0 5px 15px #0000001a}.service-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #00000026}.service-image{flex-shrink:0;width:140px;height:140px;margin-right:20px}.service-image img{object-fit:cover;border-radius:12px;width:100%;height:100%}.service-info{flex-direction:column;flex:1;justify-content:center;display:flex}.service-info h3{margin:0;font-size:22px;font-weight:600}.service-info p{color:#666;margin:10px 0}.service-info h4{color:#16a34a;margin:0;font-size:24px;font-weight:700}.modal{background:#fff;border-radius:16px;width:500px;animation:.25s popup;overflow:hidden;box-shadow:0 15px 40px #0003}@keyframes popup{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.modal-header{color:#fff;background:#2563eb;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.modal-header h2{margin:0;font-size:22px}.close-btn{color:#fff;cursor:pointer;background:0 0;border:none;font-size:24px}.modal-body{padding:25px}.form-group label{color:#333;margin-bottom:6px;font-weight:600;display:block}.form-group input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:12px;font-size:15px}.form-group input:focus{border-color:#2563eb;outline:none}.image-preview{object-fit:cover;border:1px solid #ddd;border-radius:10px;width:120px;height:120px;margin-top:12px}.modal-footer{background:#f9fafb;justify-content:flex-end;gap:12px;padding:20px;display:flex}.save-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:8px;padding:11px 22px;font-weight:600}.cancel-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:8px;padding:11px 22px;font-weight:600}.save-btn:hover,.cancel-btn:hover{opacity:.9}.clients-page{background:#f5f7fb;min-height:100vh;padding:25px}.clients-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.clients-header h2{color:#1f2937;font-size:28px}.search-bar{margin-bottom:20px}.search-bar input{border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;max-width:400px;padding:12px 15px;font-size:15px;transition:all .3s}.search-bar input:focus{border-color:#2563eb;box-shadow:0 0 5px #2563eb4d}.edit-btn,.delete-btn{cursor:pointer;color:#fff;border:none;border-radius:6px;margin-right:8px;padding:7px 14px;transition:all .3s}@media (width<=768px){.clients-header{flex-direction:column;align-items:flex-start;gap:15px}.add-btn{width:100%}.search-bar input{max-width:100%}}*{box-sizing:border-box;margin:0;padding:0;font-family:Segoe UI,sans-serif}body{background:#f5f7fb}.appointments-page{background:#f5f7fb;min-height:100vh;padding:25px}.appointments-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.appointments-header h2{color:#1f2937;font-size:28px}.add-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 18px;transition:all .3s}.filters{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.filters input,.filters select{border:1px solid #d1d5db;border-radius:8px;outline:none;min-width:180px;padding:10px 12px;font-size:14px;transition:all .3s}.filters input:focus,.filters select:focus{border-color:#2563eb;box-shadow:0 0 5px #2563eb4d}.table-card{background:#fff;border-radius:12px;overflow-x:auto;box-shadow:0 4px 12px #00000014}table{border-collapse:collapse;width:100%;min-width:800px}thead{color:#fff;background:#2563eb}thead th{text-align:left;padding:14px}tbody td{border-bottom:1px solid #e5e7eb;padding:14px}tbody tr:hover{background:#f9fafb}.status{border-radius:6px;padding:5px 10px;font-size:13px;font-weight:500;display:inline-block}.status.confirmed{color:#166534;background:#dcfce7}.status.pending{color:#854d0e;background:#fef9c3}.status.completed{color:#1e40af;background:#dbeafe}.view-btn,.cancel-btn{cursor:pointer;color:#fff;border:none;border-radius:6px;margin-right:8px;padding:7px 12px;font-size:13px;transition:all .3s}.view-btn{background:#10b981}.view-btn:hover{background:#059669}.cancel-btn{background:#ef4444}@media (width<=768px){.appointments-header{flex-direction:column;align-items:flex-start;gap:12px}.add-btn{width:100%}.filters{flex-direction:column}.filters input,.filters select{width:100%}}.staff-page{box-sizing:border-box;background:#f5f7fb;min-height:100vh;padding:20px}.staff-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.staff-header h2{color:#333;margin:0;font-size:24px}.add-btn{color:#fff;cursor:pointer;background:#1976d2;border:none;border-radius:6px;padding:10px 18px;font-size:14px;transition:all .3s}.add-btn:hover{background:#1565c0}.top-bar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.search-box{flex:1;margin-bottom:0}.search-box input{box-sizing:border-box;border:1px solid #ddd;border-radius:6px;outline:none;width:100%;padding:10px 14px;font-size:14px}.search-box input:focus{border-color:#1976d2}.filter-box{min-width:150px}.filter-box select{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:6px;outline:none;width:100%;height:42px;padding:0 10px;font-size:14px}.filter-box select:focus{border-color:#1976d2}.staff-list{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #00000014}.staff-row{border-bottom:1px solid #ececec;grid-template-columns:70px 2fr 1.5fr 180px;align-items:center;gap:10px;padding:14px 18px;display:grid}.staff-row:last-child{border-bottom:none}.staff-header-row{color:#fff;background:#1976d2;font-weight:600}.staff-col{word-break:break-word}.sl-no{text-align:center}.action{gap:10px;display:flex}.edit-btn,.delete-btn{cursor:pointer;color:#fff;border:none;border-radius:5px;padding:7px 14px;font-size:13px;transition:all .3s}.edit-btn{background:#2e7d32}.edit-btn:hover{background:#1b5e20}.delete-btn{background:#d32f2f}.delete-btn:hover{background:#b71c1c}.loading{text-align:center;color:#666;padding:40px;font-size:18px}.no-data{text-align:center;color:#777;padding:40px;font-size:16px}.staff-row:not(.staff-header-row):hover{background:#f8f9fc}@media (width<=768px){.staff-header{flex-direction:column;align-items:stretch;gap:15px}.search-box input{max-width:100%}.staff-row{grid-template-columns:50px 1fr;gap:8px}.phone{grid-column:2}.action{flex-wrap:wrap;grid-column:2;margin-top:8px}.staff-header-row{display:none}.staff-row{background:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:12px}}.modal-overlay{z-index:999;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:10px;width:400px;padding:20px;box-shadow:0 10px 30px #0003}.modal h3{margin-top:0;margin-bottom:20px}.form-group{margin-bottom:15px}.form-group label{margin-bottom:6px;font-weight:600;display:block}.form-group input{box-sizing:border-box;border:1px solid #ccc;border-radius:5px;width:100%;padding:10px}.modal-buttons{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.cancel-btn{color:#fff;cursor:pointer;background:#999;border:none;border-radius:5px;padding:10px 18px}.save-btn{color:#fff;cursor:pointer;background:#1976d2;border:none;border-radius:5px;padding:10px 18px}.save-btn:hover{background:#1565c0}.cancel-btn:hover{background:#666}
