@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
/* Font stack supports Arabic and Badini Kurdish on Windows/XAMPP. */
html,body,input,select,textarea,button{font-family:"Segoe UI","Noto Sans Arabic","Noto Kufi Arabic",Tahoma,Arial,sans-serif!important;}
html[dir="ltr"] .admin-body{padding-right:0;padding-left:248px;}
html[dir="ltr"] .admin-sidebar{right:auto;left:0;border-left:0;border-right:1px solid var(--a-white-border);}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--a-bg:#090a0d;--a-panel:#14151a;--a-ivory:#f5f1e8;--a-muted:#98958f;--a-gold:#c7a86d;--a-gold-light:#ead49e;--a-border:rgba(199,168,109,.17);--a-white-border:rgba(255,255,255,.065);--a-green:#7dbb91;--a-red:#d67a7a;--a-blue:#7899c9}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;min-height:100vh;background:radial-gradient(circle at 92% 2%,rgba(199,168,109,.06),transparent 22%),var(--a-bg);color:var(--a-ivory);font-family:"Cairo",Tahoma,Arial,sans-serif}a{color:inherit}
.admin-kicker{color:var(--a-gold);font-size:9px;font-weight:800;letter-spacing:.18em;direction:ltr}.admin-alert{margin:0 0 20px;padding:14px 17px;border:1px solid var(--a-white-border);border-radius:11px;font-size:11px}.admin-alert.error{color:#efb0b0;border-color:rgba(214,122,122,.3);background:rgba(214,122,122,.055)}.admin-alert.success{color:#aed8bb;border-color:rgba(125,187,145,.3);background:rgba(125,187,145,.055)}
.admin-primary-button{min-height:46px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;background:var(--a-gold);color:#101115;text-decoration:none;font:inherit;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 14px 35px rgba(199,168,109,.12)}
.admin-login-body{display:grid;place-items:center;padding:30px}.admin-login-shell{width:min(100%,1040px);min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border:1px solid var(--a-border);box-shadow:0 38px 110px rgba(0,0,0,.42)}
.login-brand-panel{position:relative;display:grid;place-items:center;padding:60px;overflow:hidden;background:radial-gradient(circle at 50% 35%,rgba(199,168,109,.08),transparent 29%),linear-gradient(145deg,#111217,#090a0d)}.login-brand-panel:before{content:"";position:absolute;inset:18px;border:1px solid rgba(199,168,109,.08)}
.login-brand-content{position:relative;z-index:2;max-width:470px}.login-brand-content img{width:105px;height:105px;object-fit:contain}.login-brand-content>span{display:block;margin-top:12px;color:var(--a-gold);font-size:9px;font-weight:800;letter-spacing:.2em;direction:ltr}.login-brand-content h1{margin:17px 0 12px;font-size:clamp(40px,5vw,61px);line-height:1.35}.login-brand-content p{margin:0;color:var(--a-muted);line-height:2}
.login-form-panel{padding:60px;display:grid;place-items:center;background:var(--a-panel)}.admin-login-form{width:min(100%,370px)}.admin-login-form h2{margin:12px 0 4px;font-size:31px}.admin-login-form>p{margin:0 0 26px;color:var(--a-muted);font-size:11px}
.admin-field{display:flex;flex-direction:column;gap:8px}.admin-login-form .admin-field{margin-top:15px}.admin-field>span{color:rgba(245,241,232,.68);font-size:10px;font-weight:600}
.admin-field input,.admin-field select,.admin-field textarea,.booking-filters input,.booking-filters select{width:100%;min-height:49px;padding:12px 14px;border:1px solid var(--a-white-border);border-radius:10px;outline:none;background:rgba(255,255,255,.018);color:var(--a-ivory);font:inherit;font-size:11px}.admin-field textarea{min-height:120px;resize:vertical}.admin-field select option,.booking-filters select option{background:#131419}
.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus,.booking-filters input:focus,.booking-filters select:focus{border-color:rgba(199,168,109,.45)}.admin-login-form .admin-primary-button{width:100%;margin-top:22px}.admin-back-link{display:block;margin-top:18px;color:var(--a-muted);text-align:center;text-decoration:none;font-size:10px}
.admin-body{padding-right:260px}.admin-sidebar{position:fixed;top:0;right:0;bottom:0;z-index:100;width:260px;padding:26px 20px;display:flex;flex-direction:column;border-left:1px solid var(--a-white-border);background:rgba(11,12,15,.92);backdrop-filter:blur(18px)}
.admin-sidebar-brand{direction:ltr;display:flex;align-items:center;gap:11px;color:var(--a-ivory);text-decoration:none}.admin-sidebar-brand img{width:52px;height:52px;object-fit:contain}.admin-sidebar-brand span{display:flex;flex-direction:column}.admin-sidebar-brand strong{font-size:15px}.admin-sidebar-brand small{margin-top:2px;color:var(--a-gold);font-size:7px;letter-spacing:.15em}
.admin-nav{margin-top:48px;display:grid;gap:8px}.admin-nav a{min-height:48px;padding:12px 14px;display:flex;align-items:center;gap:12px;border:1px solid transparent;border-radius:11px;color:var(--a-muted);text-decoration:none;font-size:11px;font-weight:600}.admin-nav a span{width:22px;color:var(--a-gold);text-align:center}.admin-nav a:hover,.admin-nav a.active{color:var(--a-ivory);border-color:var(--a-border);background:rgba(199,168,109,.045)}
.admin-sidebar-footer{margin-top:auto;padding-top:20px;display:flex;flex-direction:column;border-top:1px solid var(--a-white-border)}.admin-sidebar-footer small{color:var(--a-muted);font-size:8px}.admin-sidebar-footer strong{margin-top:3px;font-size:12px}.admin-sidebar-footer a{margin-top:13px;color:#d9a0a0;text-decoration:none;font-size:9px}
.admin-content{width:min(calc(100% - 56px),1480px);margin:0 auto;padding:48px 0 80px}.admin-topbar,.admin-detail-header{margin-bottom:30px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.admin-topbar h1,.admin-detail-header h1{margin:10px 0 5px;font-size:clamp(30px,4vw,48px)}.admin-topbar p,.admin-detail-header p{margin:0;color:var(--a-muted);font-size:11px}
.admin-stats{margin-bottom:20px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--a-white-border);border-right:1px solid var(--a-white-border)}.admin-stats article{min-height:145px;padding:23px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--a-white-border);border-bottom:1px solid var(--a-white-border);background:rgba(255,255,255,.012)}.admin-stats small{color:var(--a-muted);font-size:9px}.admin-stats strong{margin:5px 0 2px;color:var(--a-gold-light);font-size:36px;font-weight:600;direction:ltr}.admin-stats span{color:rgba(245,241,232,.34);font-size:8px}
.admin-panel,.detail-card,.action-card,.admin-form-panel{border:1px solid var(--a-border);background:linear-gradient(145deg,rgba(255,255,255,.018),transparent 34%),rgba(18,19,24,.88)}
.booking-filters{padding:20px;display:grid;grid-template-columns:minmax(260px,1.7fr) repeat(4,minmax(130px,.65fr)) auto auto;gap:9px;border-bottom:1px solid var(--a-white-border)}.filter-search{position:relative}.filter-search>span{position:absolute;top:50%;right:14px;transform:translateY(-50%);color:var(--a-gold)}.filter-search input{padding-right:38px}
.booking-filters button,.booking-filters>a{min-height:49px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font:inherit;font-size:10px;text-decoration:none}.booking-filters button{border:0;background:var(--a-gold);color:#101115;font-weight:800;cursor:pointer}.booking-filters>a{border:1px solid var(--a-white-border);color:var(--a-muted)}
.table-headline{padding:21px 22px;display:flex;align-items:center;justify-content:space-between}.table-headline h2{margin:0;font-size:18px}.table-headline span{color:var(--a-muted);font-size:9px}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;min-width:1020px}.admin-table th,.admin-table td{padding:16px 18px;border-top:1px solid var(--a-white-border);text-align:right;vertical-align:middle}.admin-table th{color:rgba(245,241,232,.42);font-size:8px;font-weight:600}.admin-table td{font-size:10px}.admin-table td>strong,.admin-table td>a,.admin-table td>small{display:block}.admin-table td>small,.admin-table td strong+small{margin-top:4px;color:var(--a-muted);font-size:8px}
.booking-id-link{color:var(--a-gold);text-decoration:none;font-weight:800;direction:ltr}.phone-link{margin-top:4px;color:var(--a-muted);text-decoration:none;font-size:9px;direction:ltr}
.source-badge,.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-size:8px;white-space:nowrap}.source-badge.website{color:#a9bde0;background:rgba(120,153,201,.08);border:1px solid rgba(120,153,201,.2)}.source-badge.admin{color:var(--a-gold-light);background:rgba(199,168,109,.08);border:1px solid rgba(199,168,109,.2)}
.status-badge.pending{color:var(--a-gold-light);background:rgba(199,168,109,.08);border:1px solid rgba(199,168,109,.2)}.status-badge.confirmed{color:#aed8bb;background:rgba(125,187,145,.075);border:1px solid rgba(125,187,145,.2)}.status-badge.completed{color:#b7c8e4;background:rgba(120,153,201,.075);border:1px solid rgba(120,153,201,.2)}.status-badge.rejected,.status-badge.cancelled{color:#efb0b0;background:rgba(214,122,122,.07);border:1px solid rgba(214,122,122,.2)}.status-badge.large{padding:9px 14px;font-size:10px}
.row-actions{display:flex;align-items:center;gap:7px}.row-actions a,.row-actions button{min-height:34px;padding:7px 10px;display:inline-flex;align-items:center;border:1px solid var(--a-white-border);border-radius:8px;background:transparent;color:var(--a-ivory);text-decoration:none;font:inherit;font-size:8px;cursor:pointer}.row-actions button.approve{color:#aed8bb;border-color:rgba(125,187,145,.25)}
.admin-empty{padding:70px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;border-top:1px solid var(--a-white-border)}.admin-empty>span{color:var(--a-gold);font-size:34px}.admin-empty h3{margin:12px 0 4px}.admin-empty p{margin:0 0 20px;color:var(--a-muted);font-size:10px}
.detail-back{display:inline-block;margin-bottom:13px;color:var(--a-muted);text-decoration:none;font-size:9px}.conflict-alert{margin-bottom:20px;padding:18px;border:1px solid rgba(214,122,122,.28);background:rgba(214,122,122,.055)}.conflict-alert strong{color:#efb0b0;font-size:11px}.conflict-alert div{margin-top:8px;display:flex;flex-wrap:wrap;gap:7px}.conflict-alert a{color:var(--a-muted);font-size:9px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.detail-main{display:grid;gap:18px}.detail-card,.action-card{padding:26px}.detail-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px}.detail-card-heading>span{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--a-border);border-radius:50%;color:var(--a-gold);font-size:8px}.detail-card-heading h2{margin:0;font-size:19px}
.detail-list{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--a-white-border);border-right:1px solid var(--a-white-border)}.detail-list div{min-height:82px;padding:15px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--a-white-border);border-bottom:1px solid var(--a-white-border)}.detail-list small,.detail-note small,.action-card small{color:var(--a-muted);font-size:8px}.detail-list strong,.detail-note strong{margin-top:5px;font-size:11px}
.whatsapp-admin-button,.map-admin-button{margin-top:17px;min-height:43px;padding:10px 14px;display:inline-flex;align-items:center;border-radius:9px;text-decoration:none;font-size:9px;font-weight:700}.whatsapp-admin-button{color:#0d1510;background:var(--a-green)}.map-admin-button{color:var(--a-ivory);border:1px solid var(--a-border)}
.service-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--a-white-border);border-right:1px solid var(--a-white-border)}.service-detail-grid div{min-height:110px;padding:17px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--a-white-border);border-bottom:1px solid var(--a-white-border)}.service-detail-grid strong{color:var(--a-gold-light);font-size:27px;direction:ltr}.service-detail-grid span{color:var(--a-muted);font-size:9px}
.detail-note{margin-top:16px;padding:17px;border:1px solid var(--a-white-border);display:flex;flex-direction:column}.detail-note p{margin:7px 0 0;color:var(--a-muted);font-size:10px;line-height:1.9}
.detail-actions{display:grid;align-content:start;gap:18px}.action-card{display:flex;flex-direction:column}.action-card>strong{margin-top:5px;font-size:14px}.action-card>span{margin-top:4px;color:var(--a-muted);font-size:8px}.action-card h3{margin:0 0 14px;font-size:15px}.action-card form+form{margin-top:7px}
.status-action{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--a-white-border);border-radius:8px;background:rgba(255,255,255,.015);color:var(--a-ivory);font:inherit;font-size:9px;cursor:pointer}.status-action.confirmed{color:#aed8bb}.status-action.rejected,.status-action.cancelled{color:#efb0b0}.status-action:disabled{opacity:.35;cursor:not-allowed}
.admin-form-panel{padding:28px}.admin-form-section+.admin-form-section{margin-top:28px;padding-top:28px;border-top:1px solid var(--a-white-border)}.admin-form-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.admin-form-heading>span{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--a-border);border-radius:50%;color:var(--a-gold);font-size:8px}.admin-form-heading h2{margin:0;font-size:19px}
.admin-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.admin-field-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-extra-grid{margin-top:15px}.admin-field.wide{grid-column:1/-1}.admin-check-field{min-height:49px;padding:11px 14px;display:flex;align-items:center;gap:9px;border:1px solid var(--a-white-border);border-radius:10px;color:var(--a-muted);font-size:10px}.admin-check-field input{accent-color:var(--a-gold)}
.admin-form-submit{margin-top:28px;padding-top:22px;display:flex;align-items:center;gap:15px;border-top:1px solid var(--a-white-border)}.admin-form-submit>a{color:var(--a-muted);text-decoration:none;font-size:10px}
@media(max-width:1180px){.booking-filters{grid-template-columns:repeat(3,1fr)}.filter-search{grid-column:1/-1}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.admin-body{padding-right:0}.admin-sidebar{position:static;width:auto;min-height:auto;padding:16px 20px;flex-direction:row;align-items:center;border-left:0;border-bottom:1px solid var(--a-white-border)}.admin-sidebar-brand span,.admin-sidebar-footer,.admin-nav a span{display:none}.admin-sidebar-brand img{width:43px;height:43px}.admin-nav{margin:0 0 0 auto;display:flex;gap:4px}.admin-nav a{min-height:39px;padding:8px 10px;font-size:9px}.admin-content{width:min(calc(100% - 30px),1480px);padding-top:28px}.detail-grid{grid-template-columns:1fr}.detail-actions{grid-template-columns:repeat(2,1fr)}.admin-login-shell{grid-template-columns:1fr}.login-brand-panel{min-height:330px}}
@media(max-width:680px){.admin-topbar,.admin-detail-header{align-items:flex-start;flex-direction:column}.admin-topbar .admin-primary-button{width:100%}.booking-filters{grid-template-columns:1fr}.filter-search{grid-column:auto}.admin-stats,.detail-list,.service-detail-grid,.admin-field-grid,.admin-field-grid.four,.detail-actions{grid-template-columns:1fr}.admin-sidebar{overflow-x:auto}.admin-sidebar-brand,.admin-nav{flex:0 0 auto}.admin-login-body{padding:15px}.login-brand-panel,.login-form-panel{padding:32px 24px}.login-brand-panel{min-height:280px}.admin-form-panel{padding:20px 16px}}
.detail-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.priority-badge{padding:8px 12px;border-radius:999px;font-size:9px;border:1px solid var(--a-white-border)}.priority-badge.important{color:#ead49e;border-color:rgba(199,168,109,.35)}.priority-badge.urgent{color:#efb0b0;border-color:rgba(214,122,122,.35)}.priority-badge.vip{color:#d9c4ff;border-color:rgba(169,130,230,.35)}
.private-note{border-color:rgba(214,122,122,.25);background:rgba(214,122,122,.035)}.team-note{border-color:rgba(120,153,201,.25);background:rgba(120,153,201,.035)}
.status-change-form{display:grid;gap:7px}.status-reason{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--a-white-border);border-radius:8px;background:rgba(255,255,255,.025);color:var(--a-ivory);font:inherit;font-size:9px}.history-list{display:grid;gap:12px}.history-entry{padding:16px;border:1px solid var(--a-white-border);border-radius:10px;background:rgba(255,255,255,.012)}.history-top{display:flex;justify-content:space-between;gap:15px}.history-top strong{font-size:11px}.history-top span,.history-empty{color:var(--a-muted);font-size:8px}.history-reason{margin:9px 0;color:var(--a-gold-light);font-size:9px}.history-change{margin-top:8px;display:grid;grid-template-columns:150px 1fr 20px 1fr;gap:8px;align-items:center;font-size:8px}.history-change b{color:var(--a-muted)}.history-change span{padding:7px;border-radius:6px;background:rgba(255,255,255,.025);word-break:break-word}.history-change i{text-align:center;color:var(--a-gold)}
.status-badge.contacted,.status-badge.awaiting_customer,.status-badge.team_assigned,.status-badge.ready,.status-badge.on_the_way,.status-badge.shooting,.status-badge.shot_done,.status-badge.editing,.status-badge.album_preparing,.status-badge.ready_delivery,.status-badge.postponed{color:#c9d7ec;background:rgba(120,153,201,.075);border:1px solid rgba(120,153,201,.2)}
@media(max-width:680px){.detail-header-actions{width:100%}.detail-header-actions .admin-primary-button{flex:1}.history-change{grid-template-columns:1fr}.history-change i{transform:rotate(90deg)}}

.sm-language-switch{position:fixed;top:16px;left:16px;z-index:9999;display:flex;gap:4px;padding:4px;background:rgba(10,10,12,.9);border:1px solid rgba(255,255,255,.14);border-radius:999px;backdrop-filter:blur(12px)}.sm-language-switch a{color:#fff;text-decoration:none;padding:7px 12px;border-radius:999px;font-size:12px;opacity:.68}.sm-language-switch a.active{background:#fff;color:#111;opacity:1}.detail-muted{opacity:.7;font-size:13px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}

.pricing-table{border:1px solid var(--a-white-border);border-radius:12px;overflow:hidden}.pricing-head,.pricing-row{display:grid;grid-template-columns:2fr .7fr 1fr 1fr;gap:8px;padding:12px 14px}.pricing-head{background:rgba(255,255,255,.05);color:var(--a-muted);font-size:9px}.pricing-row{border-top:1px solid var(--a-white-border);font-size:10px}.pricing-row span:last-child{color:var(--a-gold-light);font-weight:800}.financial-summary{margin-top:16px;margin-inline-start:auto;max-width:430px;border:1px solid var(--a-white-border)}.financial-summary div{display:flex;justify-content:space-between;padding:11px 14px;border-bottom:1px solid var(--a-white-border)}.financial-summary div:last-child{border-bottom:0}.financial-summary span{color:var(--a-muted);font-size:9px}.financial-summary strong{font-size:11px}.financial-summary .grand{background:rgba(199,168,109,.08)}.financial-summary .balance strong{color:#efb0b0;font-size:15px}.pdf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.admin-secondary-button{min-height:43px;padding:10px 14px;display:inline-flex;align-items:center;border:1px solid var(--a-border);border-radius:9px;color:var(--a-ivory);text-decoration:none;font-size:9px}.system-id{font-size:9px!important;opacity:.65}@media(max-width:680px){.pricing-head,.pricing-row{grid-template-columns:1.4fr .5fr 1fr 1fr;font-size:8px}.financial-summary{max-width:none}}

.live-pricing-table{border:1px solid var(--a-white-border);border-radius:14px;overflow:hidden}.live-pricing-head,.live-pricing-row{display:grid;grid-template-columns:minmax(180px,2fr) .65fr 1.15fr 1.2fr;gap:10px;align-items:center;padding:13px 15px}.live-pricing-head{background:rgba(255,255,255,.05);color:var(--a-muted);font-size:9px}.live-pricing-row{border-top:1px solid var(--a-white-border);transition:opacity .2s,background .2s}.live-pricing-row strong{font-size:10px}.live-pricing-row output{font-size:10px;direction:ltr}.live-pricing-row output:last-child{color:var(--a-gold-light);font-weight:800}.live-pricing-row input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--a-white-border);border-radius:8px;background:rgba(255,255,255,.025);color:var(--a-ivory);font:inherit;direction:ltr}.live-pricing-row.service-disabled{opacity:.45;background:rgba(255,255,255,.008)}.pricing-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}.live-financial-summary{margin-top:16px;margin-inline-start:auto;max-width:520px;border:1px solid var(--a-white-border);border-radius:12px;overflow:hidden}.live-financial-summary div{display:flex;justify-content:space-between;gap:18px;padding:12px 15px;border-bottom:1px solid var(--a-white-border)}.live-financial-summary div:last-child{border-bottom:0}.live-financial-summary span{color:var(--a-muted);font-size:9px}.live-financial-summary strong{font-size:11px;direction:ltr}.live-financial-summary .grand{background:rgba(199,168,109,.08)}.live-financial-summary .grand strong{color:var(--a-gold-light);font-size:15px}.live-financial-summary .balance strong{color:#efb0b0;font-size:14px}.pricing-help{margin:12px 0 0;color:var(--a-muted);font-size:9px}html[lang="ku"] body{letter-spacing:0!important}html[lang="ku"] .admin-nav a,html[lang="ku"] .admin-field span,html[lang="ku"] .live-pricing-head,html[lang="ku"] .live-pricing-row{font-size:11px}@media(max-width:900px){html[dir="ltr"] .admin-body{padding-left:0}.pricing-payment-grid{grid-template-columns:1fr}}@media(max-width:680px){.live-pricing-head{display:none}.live-pricing-row{grid-template-columns:1fr 55px 1fr}.live-pricing-row output:last-child{grid-column:1/-1;padding-top:8px;border-top:1px dashed var(--a-white-border)}.live-financial-summary{max-width:none}}
.calendar-panel{padding:22px}.calendar-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.calendar-nav,.calendar-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.calendar-nav h2{min-width:170px;text-align:center;margin:0}.calendar-nav a,.today-link,.calendar-filters button{min-height:38px;padding:9px 13px;border:1px solid var(--a-white-border);border-radius:8px;background:rgba(255,255,255,.03);color:var(--a-ivory);text-decoration:none;cursor:pointer}.calendar-filters input,.calendar-filters select{min-height:38px;padding:8px 10px;border:1px solid var(--a-white-border);border-radius:8px;background:#121318;color:var(--a-ivory)}.calendar-week-head,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week-head div{padding:10px;text-align:center;color:var(--a-muted);font-size:9px;border:1px solid var(--a-white-border);border-bottom:0}.calendar-day{min-height:165px;padding:9px;border:1px solid var(--a-white-border);background:rgba(255,255,255,.012)}.calendar-day.empty{opacity:.35}.calendar-day.today{background:rgba(199,168,109,.07);box-shadow:inset 0 0 0 1px var(--a-gold)}.day-number{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.day-number span{font-weight:800}.day-number small{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:rgba(255,255,255,.06);font-size:8px}.day-bookings{display:grid;gap:6px}.calendar-booking{display:block;padding:8px;border-inline-start:3px solid var(--a-gold);border-radius:7px;background:rgba(255,255,255,.045);color:var(--a-ivory);text-decoration:none;overflow:hidden}.calendar-booking>div{display:flex;justify-content:space-between;gap:8px;font-size:8px}.calendar-booking span,.calendar-booking small,.calendar-booking em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-booking span{margin-top:4px;font-size:9px}.calendar-booking small{margin-top:3px;color:var(--a-muted);font-size:8px}.calendar-booking em{margin-top:4px;color:var(--a-gold-light);font-style:normal;font-size:7px}.calendar-booking.status-cancelled,.calendar-booking.status-rejected{border-inline-start-color:#b95c5c;opacity:.62}.calendar-booking.status-confirmed,.calendar-booking.status-team_assigned{border-inline-start-color:#68a978}.calendar-booking.status-completed{border-inline-start-color:#777}.calendar-booking:hover{background:rgba(255,255,255,.08)}@media(max-width:1000px){.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-grid,.calendar-week-head{min-width:980px}.calendar-panel{overflow-x:auto}}@media print{.admin-sidebar,.admin-topbar,.calendar-toolbar,.sm-language-switch{display:none!important}.admin-body{padding:0}.admin-content{width:100%;padding:0}.calendar-panel{border:0}.calendar-day{min-height:145px;color:#111;background:#fff}.calendar-booking{color:#111;border:1px solid #ccc}.calendar-week-head div{color:#111}}

html,body,button,input,select,textarea,table{font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif!important;}
.live-pricing-row .qty-input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--a-white-border);border-radius:8px;background:rgba(255,255,255,.025);color:var(--a-ivory);font:inherit;text-align:center;direction:ltr}.live-pricing-row .salon-toggle{display:flex;align-items:center;justify-content:center;gap:8px}.live-pricing-row .salon-toggle input{width:20px;height:20px;min-height:auto}.pricing-section .pricing-help{font-size:11px}
.smart-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.smart-stats article,.money-stats article{padding:18px;border:1px solid var(--a-white-border);background:rgba(255,255,255,.018)}.smart-stats small,.money-stats small{display:block;color:var(--a-muted);font-size:9px}.smart-stats strong{display:block;margin-top:5px;color:var(--a-gold-light);font-size:30px}.smart-stats span{color:var(--a-muted);font-size:9px}.money-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.money-stats strong{display:block;margin-top:6px;font-size:19px;direction:ltr}.dashboard-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-bottom:16px}.alerts-list{padding:0 18px 18px;display:grid;gap:8px}.smart-alert{padding:11px 13px;border:1px solid var(--a-white-border);border-radius:9px;color:var(--a-ivory);text-decoration:none;font-size:10px}.smart-alert.warn{border-color:rgba(214,122,122,.32)}.smart-alert.money{border-color:rgba(199,168,109,.35)}.smart-alert.contact{border-color:rgba(120,153,201,.35)}.quick-search{padding:18px;display:flex;gap:8px}.quick-search input{flex:1;min-height:48px;padding:11px 13px;border:1px solid var(--a-white-border);border-radius:9px;background:rgba(255,255,255,.02);color:var(--a-ivory);font:inherit}.quick-search button{padding:10px 18px;border:0;border-radius:9px;background:var(--a-gold);font:inherit;font-weight:700}.finance-badge{display:inline-flex;padding:6px 9px;border-radius:999px;border:1px solid var(--a-white-border);font-size:8px}.finance-badge.unpaid{color:#efb0b0;border-color:rgba(214,122,122,.3)}.finance-badge.partial{color:var(--a-gold-light);border-color:rgba(199,168,109,.35)}.finance-badge.paid{color:#aed8bb;border-color:rgba(125,187,145,.35)}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1100px){.smart-stats{grid-template-columns:repeat(3,1fr)}.dashboard-columns{grid-template-columns:1fr}}@media(max-width:680px){.smart-stats,.money-stats{grid-template-columns:1fr 1fr}.quick-search{flex-direction:column}}@media print{.admin-sidebar,.admin-topbar,.booking-filters,.sm-language-switch{display:none!important}.admin-body{padding:0}.admin-content{width:100%;padding:0}.admin-panel{border:0}.admin-table{color:#111}.admin-table th,.admin-table td{border:1px solid #ccc}}


/* Accessibility and stable controls */
html{font-size:18px}body{font-size:16px}.admin-nav a,.admin-field span,.admin-table,.admin-primary-button,.admin-secondary-button,.booking-filters,.smart-alert{font-size:14px!important}.admin-topbar h1,.admin-detail-header h1{font-size:30px}.admin-panel h2,.detail-card h2{font-size:21px}.admin-field input,.admin-field select,.admin-field textarea{font-size:16px;min-height:50px}.admin-primary-button,.admin-secondary-button,.booking-filters button,.booking-filters a{min-height:50px;padding:12px 18px;font-size:15px!important;visibility:visible!important;opacity:1!important}.admin-primary-button:active,.admin-secondary-button:active,.admin-nav a:active{transform:none!important;visibility:visible!important;opacity:1!important}.is-submitting{pointer-events:none;opacity:.72!important}
.team-login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.team-login-form{width:min(520px,100%);padding:34px;border:1px solid var(--a-white-border);border-radius:20px;background:#111319}.team-login-logo{width:110px;margin-bottom:18px}.team-admin-link{display:block;text-align:center;margin-top:18px;color:var(--a-muted)}.team-portal-body{min-height:100vh;background:#0b0c10;color:var(--a-ivory)}.team-portal-header{display:flex;justify-content:space-between;align-items:center;padding:18px 5vw;border-bottom:1px solid var(--a-white-border);background:#111319}.team-portal-header>div{display:flex;align-items:center;gap:14px}.team-portal-header img{width:72px}.team-portal-header h1{margin:2px 0 0;font-size:25px}.team-portal-header a{color:var(--a-ivory)}.team-portal-main{width:min(1200px,92vw);margin:24px auto 60px}.team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.team-summary article{padding:20px;border:1px solid var(--a-white-border);border-radius:14px;background:#111319}.team-summary small{color:var(--a-muted)}.team-summary strong{display:block;margin-top:7px;font-size:32px;color:var(--a-gold-light)}.team-booking-list{display:grid;gap:16px}.team-booking-card{padding:22px;border:1px solid var(--a-white-border);border-radius:16px;background:#111319}.team-booking-card header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid var(--a-white-border);padding-bottom:14px}.team-booking-card h2{margin:9px 0 0;font-size:22px}.team-booking-card time{font-size:17px;color:var(--a-gold-light);direction:ltr}.team-booking-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.team-booking-grid>div{padding:14px;border:1px solid var(--a-white-border);border-radius:11px}.team-booking-grid small,.team-equipment small,.team-note small{display:block;color:var(--a-muted);margin-bottom:5px}.team-booking-grid strong{font-size:18px}.team-equipment,.team-note{margin-top:14px;padding:15px;border:1px solid var(--a-white-border);border-radius:11px}.team-booking-actions{margin-top:15px}.team-booking-actions a{display:inline-flex}.team-note p,.team-equipment p{margin:0;font-size:16px}@media(max-width:760px){html{font-size:16px}.team-summary,.team-booking-grid{grid-template-columns:1fr}.team-booking-card header{flex-direction:column}.admin-topbar h1,.admin-detail-header h1{font-size:24px}}

/* Customer PDF and WhatsApp actions in booking list */
.booking-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.booking-row-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:9px;text-decoration:none;font-weight:700;white-space:nowrap}.booking-row-actions .pdf-link{background:#181818;color:#fff}.booking-row-actions .wa-link{background:#187d4b;color:#fff}@media(max-width:700px){.booking-row-actions{min-width:150px}.booking-row-actions a{flex:1 1 100%}}

.map-actions{display:flex;gap:10px;flex-wrap:wrap}.map-actions button{font:inherit}.detail-card table{width:100%;border-collapse:collapse}.detail-card th,.detail-card td{padding:10px;border-bottom:1px solid #ddd}.admin-form-grid input,.admin-form-grid select{font-size:18px;padding:12px}.calendar-booking.status-cancelled{background:#fee2e2;border-color:#dc2626}.revision{font-family:Cairo,Tahoma,Arial,sans-serif}
.smart-alert.urgent{border-inline-start:5px solid #c62828;background:#fff0f0}.smart-alert.team{border-inline-start:5px solid #6a1b9a;background:#f7effb}.smart-alert.conflict{border-inline-start:5px solid #d84315;background:#fff3ed}.smart-alert.blocked{border-inline-start:5px solid #37474f;background:#eef2f3}.team-booking-actions form{display:inline-flex;margin:0}


/* Stable booking actions: never disappear on click/double click */
.booking-row-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;min-width:285px;overflow:visible!important}
.booking-row-actions a,.booking-row-actions button{display:inline-flex!important;visibility:visible!important;opacity:1!important;min-width:78px;min-height:44px!important;padding:10px 13px!important;border:1px solid var(--a-white-border);background:#17191f;color:var(--a-ivory);font-size:13px!important;line-height:1.2;position:relative;z-index:2}
.booking-row-actions a:active,.booking-row-actions button:active,.booking-row-actions a:focus,.booking-row-actions button:focus{display:inline-flex!important;visibility:visible!important;opacity:1!important;transform:none!important;outline:2px solid var(--a-gold)}
button[disabled]{opacity:.72!important;visibility:visible!important;cursor:wait!important}
.admin-table td:last-child{min-width:310px}.admin-table-wrap{padding-bottom:8px}
.hall-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:18px}.hall-form{padding:24px}.hall-map{height:420px;margin-top:18px;border:1px solid var(--a-border);border-radius:14px;overflow:hidden;background:#17191f}.hall-cards{display:grid;gap:10px;padding:18px}.hall-card{padding:17px;border:1px solid var(--a-white-border);border-radius:12px;background:rgba(255,255,255,.018)}.hall-card h3{margin:0;font-size:18px}.hall-card p{margin:6px 0 13px;color:var(--a-muted)}.hall-card form{display:inline-flex;margin:0}.admin-field small a{color:var(--a-gold-light)}
@media(max-width:1050px){.hall-layout{grid-template-columns:1fr}.booking-row-actions{min-width:230px}.admin-table td:last-child{min-width:250px}}


/* ===== SM Studio Ivory / Bronze premium theme ===== */
:root{
 --a-bg:#f6f1ea;--a-panel:#fffdf9;--a-ivory:#3f302b;--a-muted:#806f68;
 --a-gold:#b77f56;--a-gold-light:#8f5f43;--a-border:#dfcfc1;--a-white-border:#eadfd5;
 --a-green:#39765a;--a-red:#b64e50;--a-blue:#4f6f9c;
}
body,.admin-body{background:linear-gradient(135deg,#f9f5ef 0%,#f2e9df 100%)!important;color:#3f302b!important}
.admin-sidebar{background:rgba(255,252,247,.97)!important;border-color:#e4d5c7!important;box-shadow:-8px 0 28px rgba(92,64,50,.07);backdrop-filter:blur(14px)}
.admin-sidebar-brand{color:#3f302b!important}.admin-sidebar-brand img{width:178px!important;height:auto!important;max-height:65px!important;object-fit:contain!important}
.admin-sidebar-brand span{display:none!important}.admin-nav{margin-top:34px!important}.admin-nav a{color:#725f57!important;font-size:14px!important}
.admin-nav a:hover,.admin-nav a.active{color:#4b342c!important;background:#f2e4d7!important;border-color:#d9bda5!important}
.admin-nav a span{color:#a46f4d!important}.admin-sidebar-footer{border-color:#eadfd5!important}.admin-sidebar-footer a{color:#a34e50!important}
.admin-content{color:#3f302b!important}.admin-topbar p,.admin-detail-header p,.admin-stats small,.admin-stats span,.table-headline span{color:#806f68!important}
.admin-kicker{color:#a46f4d!important}.admin-topbar h1,.admin-detail-header h1{color:#3e2c26!important}
.admin-panel,.detail-card,.action-card,.admin-form-panel,.resource-card,.hall-card,.team-booking-card,.team-summary article{background:#fffdf9!important;border-color:#dfcfc1!important;box-shadow:0 10px 28px rgba(92,64,50,.06)!important}
.admin-stats{border-color:#e4d7cb!important}.admin-stats article,.smart-stats article,.money-stats article{background:#fffdf9!important;border-color:#e4d7cb!important}.admin-stats strong,.smart-stats strong,.team-summary strong{color:#9a6749!important}
.admin-field>span{color:#67534b!important}.admin-field input,.admin-field select,.admin-field textarea,.booking-filters input,.booking-filters select,.quick-search input,.calendar-filters input,.calendar-filters select,.live-pricing-row input{background:#fff!important;color:#3f302b!important;border-color:#d9c8ba!important}
.admin-field select option,.booking-filters select option{background:#fff!important;color:#3f302b!important}
.admin-primary-button,.booking-filters button,.quick-search button{background:#a9704e!important;color:#fff!important;box-shadow:none!important}
.admin-secondary-button,.booking-filters>a{background:#fff!important;color:#684a3d!important;border:1px solid #d8c2b0!important}
.admin-table th{color:#76645d!important;background:#f4e9df!important}.admin-table td{color:#43332d!important;border-color:#eadfd5!important}.admin-table td small,.admin-table td strong+small{color:#8b7971!important}
.booking-id-link{color:#9d6241!important}.phone-link{color:#6f625c!important}
.row-actions a,.row-actions button,.booking-row-actions a,.booking-row-actions button{background:#fff!important;color:#5d4035!important;border-color:#d8c2b0!important;box-shadow:0 3px 8px rgba(92,64,50,.05)!important}
.booking-row-actions .pdf-link{background:#8e5d45!important;color:#fff!important}.booking-row-actions .wa-link{background:#2e7d5a!important;color:#fff!important}
.booking-row-actions a:hover,.booking-row-actions button:hover{background:#f2e4d7!important;color:#3f302b!important}
.booking-row-actions a:active,.booking-row-actions button:active,.booking-row-actions a:focus,.booking-row-actions button:focus{display:inline-flex!important;visibility:visible!important;opacity:1!important;transform:none!important;outline:3px solid rgba(183,127,86,.25)!important}
button[disabled],button[aria-busy="true"]{visibility:visible!important;opacity:1!important;filter:none!important;color:inherit!important}
.status-action:disabled{opacity:.65!important}.admin-table-wrap{overflow-x:auto!important;overflow-y:visible!important}.admin-table td:last-child{overflow:visible!important}
.calendar-panel,.calendar-day{background:#fffdf9!important;border-color:#e3d4c7!important}.calendar-day.today{background:#f4e4d4!important}.calendar-booking{background:#f7eee7!important;color:#4b372f!important}.calendar-booking:hover{background:#eedbca!important}
.smart-alert{background:#fff!important;color:#4a3831!important}.smart-alert.urgent{background:#fff0f0!important}.smart-alert.team{background:#f8f0fb!important}.smart-alert.blocked{background:#eef4f2!important}
.team-portal-body{background:linear-gradient(135deg,#f9f5ef,#f0e6dc)!important;color:#3f302b!important}.team-portal-header{background:#fffdf9!important;border-color:#dfcfc1!important}.team-portal-header img{width:190px!important;height:auto!important}.team-portal-header a{color:#8c5740!important}.team-booking-grid>div,.team-equipment,.team-note{background:#fff!important;border-color:#e1d3c7!important}.team-booking-card time{color:#9a6749!important}
.login-brand-panel{background:linear-gradient(145deg,#f3e4d6,#fffaf4)!important}.login-form-panel{background:#fffdf9!important}.login-brand-content h1,.admin-login-form h2{color:#3f302b!important}.login-brand-content p,.admin-login-form>p{color:#806f68!important}
.login-brand-content img{width:300px!important;height:auto!important}.admin-login-shell{border-color:#ddcbbb!important;box-shadow:0 35px 90px rgba(92,64,50,.18)!important}
.hall-map{background:#eee5dc!important;border-color:#d7c1ae!important}.hall-card p,.pricing-help{color:#806f68!important}
.live-pricing-head{background:#f3e7dc!important;color:#6e5a51!important}.live-pricing-row{border-color:#eadfd5!important}.live-pricing-row.service-disabled{background:#faf6f2!important}.live-financial-summary,.live-pricing-table{border-color:#ddcbbb!important}.live-financial-summary .grand{background:#f1dfce!important}.live-financial-summary .balance strong{color:#a63f43!important}
@media(max-width:900px){.admin-sidebar-brand img{width:145px!important}.admin-sidebar-brand span{display:none!important}}

.hall-search-box{margin-top:18px;padding:16px;border:1px solid #dfcfc1;border-radius:14px;background:#fffaf5}.hall-search-row{display:grid;grid-template-columns:1fr auto;gap:10px}.hall-search-results{display:grid;gap:7px;margin-top:10px}.hall-search-result{width:100%;padding:11px 13px;border:1px solid #ddcbbb;border-radius:10px;background:#fff;color:#4b372f;text-align:right;font:inherit;cursor:pointer}.hall-search-result:hover{background:#f1e2d4}.hall-search-results p{margin:4px;color:#806f68}@media(max-width:600px){.hall-search-row{grid-template-columns:1fr}}

.team-map-card{margin-top:16px;border:1px solid #dfcfc1;border-radius:15px;overflow:hidden;background:#fff}.team-map-card iframe{display:block;width:100%;height:280px;border:0}.team-map-address{padding:12px 15px}.team-map-address small{display:block;color:#806f68}.team-map-address strong{display:block;margin-top:4px}.team-booking-actions{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center}.team-booking-actions form{margin:0}.map-google{background:#4169a1!important}.map-waze{background:#1f8a88!important}.copy-map{min-height:50px;padding:12px 18px;border-radius:11px;font:inherit;cursor:pointer}

/* ===== Premium login & cinematic splash 2026 ===== */
.login-pro-body{min-height:100vh;padding:28px;overflow-x:hidden;background:
 radial-gradient(circle at 12% 12%,rgba(183,127,86,.18),transparent 28%),
 radial-gradient(circle at 90% 88%,rgba(116,75,57,.12),transparent 30%),
 linear-gradient(135deg,#f8f2eb 0%,#efe1d4 52%,#f9f6f2 100%)!important}
.login-pro-shell{width:min(1180px,100%);min-height:720px;border:1px solid rgba(145,93,64,.18)!important;border-radius:30px;box-shadow:0 45px 120px rgba(91,55,40,.22)!important;background:#fff;isolation:isolate}
.login-pro-brand{min-height:720px;padding:76px;background:
 linear-gradient(135deg,rgba(73,42,34,.97),rgba(116,72,53,.94)),
 radial-gradient(circle at 70% 20%,rgba(231,195,143,.35),transparent 34%)!important;color:#fff;isolation:isolate}
.login-pro-brand:before{inset:22px;border-radius:22px;border-color:rgba(255,255,255,.12)}
.login-pro-brand:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 45%,rgba(255,255,255,.04) 46% 47%,transparent 48%);pointer-events:none}
.login-pro-brand-content{max-width:520px;text-align:right}.login-logo-wrap{width:150px;height:150px;display:grid;place-items:center;margin-bottom:24px;border-radius:38px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px rgba(255,255,255,.18),0 28px 55px rgba(22,10,6,.22);backdrop-filter:blur(12px)}
.login-pro-brand-content .login-logo-wrap img{width:124px!important;height:124px!important;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(0,0,0,.22))}
.login-pro-brand-content>span{font-size:11px;letter-spacing:.23em;color:#e9c994}.login-pro-brand-content h1{margin:20px 0 16px;font-size:clamp(43px,5vw,70px);line-height:1.28;color:#fff!important;font-weight:800}.login-pro-brand-content h1 em{font-style:normal;color:#e8c792}.login-pro-brand-content p{max-width:460px;color:rgba(255,255,255,.72)!important;font-size:15px;line-height:2.05}
.login-feature-row{margin-top:36px;display:flex;flex-wrap:wrap;gap:10px}.login-feature-row span{padding:9px 13px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.8);font-size:11px}
.brand-decoration{position:absolute;border-radius:50%;border:1px solid rgba(235,202,151,.12);pointer-events:none}.brand-decoration-one{width:360px;height:360px;left:-190px;bottom:-150px}.brand-decoration-two{width:210px;height:210px;right:-80px;top:-90px}
.login-pro-form-panel{padding:72px;background:rgba(255,253,249,.96)!important}.login-pro-form{width:min(100%,420px)}.login-mobile-logo{display:none}.login-pro-form .admin-kicker{font-size:11px;letter-spacing:.08em}.login-pro-form h2{margin:14px 0 5px;font-size:40px;color:#3f2e28!important}.login-pro-form>p{margin-bottom:34px;font-size:14px!important;color:#806f68!important}
.login-field{gap:10px!important;margin-top:18px!important}.login-field>span:first-child{font-size:13px!important;font-weight:700;color:#5b443b!important}.login-input-wrap{position:relative;display:flex;align-items:center}.login-input-wrap>svg{position:absolute;right:16px;width:20px;height:20px;fill:none;stroke:#a27152;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.login-input-wrap input{min-height:58px!important;padding:14px 48px 14px 66px!important;border-radius:16px!important;border-color:#dfcfc1!important;background:#fff!important;font-size:14px!important;box-shadow:0 8px 25px rgba(92,64,50,.035)}.login-input-wrap input:focus{border-color:#a9704e!important;box-shadow:0 0 0 4px rgba(169,112,78,.09)}.password-toggle{position:absolute;left:13px;min-height:34px;padding:5px 9px;border:0;border-radius:9px;background:#f2e5da;color:#865c46;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.login-submit{width:100%;min-height:60px!important;margin-top:28px!important;border-radius:16px!important;gap:13px;font-size:15px!important;background:linear-gradient(135deg,#9d6446,#714436)!important;box-shadow:0 18px 35px rgba(113,68,54,.24)!important;transition:transform .2s ease,box-shadow .2s ease}.login-submit:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(113,68,54,.3)!important}.login-submit svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(180deg)}.login-submit.is-loading{cursor:wait}.login-submit.is-loading svg{animation:login-arrow-pulse .8s ease-in-out infinite alternate}
.login-security-note{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:9px;color:#8b776e;font-size:11px}.login-security-note svg{width:18px;height:18px;fill:none;stroke:#a9704e;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.studio-splash{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,#754c3d 0,#3b241e 38%,#1b100d 100%);color:#fff;transition:opacity .8s ease,visibility .8s ease}.studio-splash.splash-hidden{display:none}.studio-splash.splash-leaving{opacity:0;visibility:hidden}.splash-noise{position:absolute;inset:0;opacity:.09;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}.splash-orbit{position:absolute;border:1px solid rgba(236,201,148,.13);border-radius:50%;animation:splash-orbit 14s linear infinite}.orbit-one{width:min(72vw,760px);height:min(72vw,760px)}.orbit-two{width:min(52vw,540px);height:min(52vw,540px);animation-direction:reverse;animation-duration:11s}.splash-center{position:relative;z-index:2;text-align:center}.splash-logo-stage{position:relative;width:230px;height:230px;margin:0 auto 24px;display:grid;place-items:center}.splash-logo-stage:before,.splash-logo-stage:after{content:"";position:absolute;inset:0;border:1px solid rgba(238,201,143,.25);border-radius:50%;animation:splash-ring 2.6s ease-out infinite}.splash-logo-stage:after{animation-delay:1.3s}.splash-logo-stage img{position:relative;z-index:2;width:185px;height:185px;object-fit:contain;opacity:0;transform:scale(.78);animation:splash-logo-in 1.2s .2s cubic-bezier(.17,.89,.32,1.28) forwards;filter:drop-shadow(0 18px 36px rgba(0,0,0,.3))}.splash-glow{position:absolute;width:150px;height:150px;border-radius:50%;background:rgba(232,198,144,.2);filter:blur(35px);animation:splash-glow 2.4s ease-in-out infinite alternate}.splash-eyebrow{margin:0;color:#e5c492;font-size:12px;font-weight:800;letter-spacing:.35em;direction:ltr;opacity:0;animation:splash-text-in .8s .85s ease forwards}.splash-center h1{margin:14px 0 24px;font-size:clamp(27px,4vw,48px);font-weight:700;opacity:0;animation:splash-text-in .8s 1.05s ease forwards}.splash-progress{width:260px;height:2px;margin:0 auto 14px;overflow:hidden;background:rgba(255,255,255,.12)}.splash-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#bd865d,#f2d7a3);animation:splash-progress 2.8s .25s cubic-bezier(.2,.8,.2,1) forwards}.splash-center small{color:rgba(255,255,255,.54);font-size:11px;opacity:0;animation:splash-text-in .8s 1.35s ease forwards}.splash-active{overflow:hidden}
@keyframes splash-logo-in{to{opacity:1;transform:scale(1)}}@keyframes splash-text-in{to{opacity:1;transform:none}}@keyframes splash-progress{to{width:100%}}@keyframes splash-ring{0%{transform:scale(.6);opacity:0}35%{opacity:.6}100%{transform:scale(1.25);opacity:0}}@keyframes splash-orbit{to{transform:rotate(360deg)}}@keyframes splash-glow{to{transform:scale(1.18);opacity:.65}}@keyframes login-arrow-pulse{to{transform:rotate(180deg) translateX(-4px)}}
@media(max-width:900px){.login-pro-body{padding:14px}.login-pro-shell{grid-template-columns:1fr;min-height:auto;border-radius:24px}.login-pro-brand{display:none}.login-pro-form-panel{min-height:calc(100vh - 28px);padding:40px 24px}.login-mobile-logo{display:grid;width:116px;height:116px;margin:0 auto 28px;place-items:center;border-radius:28px;background:#f1e3d7;border:1px solid #dfc7b4}.login-mobile-logo img{width:96px;height:96px;object-fit:contain}.login-pro-form h2{text-align:center;font-size:34px}.login-pro-form>p,.login-pro-form .admin-kicker{text-align:center;display:block}.splash-logo-stage{width:180px;height:180px}.splash-logo-stage img{width:145px;height:145px}.splash-progress{width:210px}}
@media(prefers-reduced-motion:reduce){.studio-splash{display:none!important}.login-submit,.splash-orbit,.splash-logo-stage:before,.splash-logo-stage:after{animation:none!important;transition:none!important}}

/* FINAL SIDEBAR VISIBILITY FIX — keep every navigation button accessible */
.admin-sidebar{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
  scrollbar-color:#c9aa8d transparent;
}
.admin-nav{
  flex-shrink:0!important;
  min-height:max-content!important;
}
.admin-nav a{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex-shrink:0!important;
}

@media (max-width:900px){
  .admin-body{padding-right:0!important;padding-left:0!important;}
  .admin-sidebar{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    min-height:auto!important;
    max-height:none!important;
    padding:18px 16px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:16px!important;
    overflow:visible!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:1px solid #e4d5c7!important;
  }
  .admin-sidebar-brand{
    width:100%!important;
    justify-content:center!important;
    flex:0 0 auto!important;
  }
  .admin-sidebar-brand img{
    width:150px!important;
    max-height:64px!important;
  }
  .admin-nav{
    width:100%!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    overflow:visible!important;
  }
  .admin-nav a{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:11px 12px!important;
    justify-content:flex-start!important;
    white-space:normal!important;
    line-height:1.35!important;
    text-align:right!important;
  }
  .admin-nav a span{
    display:inline-block!important;
    flex:0 0 22px!important;
  }
  .admin-sidebar-footer{
    display:flex!important;
    width:100%!important;
    margin-top:2px!important;
    padding-top:14px!important;
  }
  .admin-content{
    width:min(calc(100% - 24px),1480px)!important;
    margin-inline:auto!important;
    padding-top:24px!important;
  }
}

@media (max-width:480px){
  .admin-sidebar{padding:15px 12px!important;}
  .admin-nav{grid-template-columns:1fr!important;}
  .admin-nav a{
    min-height:50px!important;
    font-size:15px!important;
    border-color:#e1c9b5!important;
    background:#fffaf5!important;
  }
  .admin-nav a.active{background:#f2e4d7!important;}
}

/* =========================================================
   MOONLIGHT LUXURY UI — light night palette + soft motion
   ========================================================= */
:root{
  --a-bg:#eef1fb;
  --a-panel:#ffffff;
  --a-ivory:#18213c;
  --a-muted:#76809b;
  --a-gold:#c89b64;
  --a-gold-light:#f3d9ad;
  --a-border:rgba(94,108,154,.18);
  --a-white-border:rgba(94,108,154,.13);
  --a-green:#4d9f7a;
  --a-red:#c85f73;
  --a-blue:#7589db;
  --moon-navy:#1d2748;
  --moon-indigo:#596db8;
  --moon-lilac:#e8eafd;
  --moon-card:rgba(255,255,255,.82);
}
html,body,input,select,textarea,button{font-family:"Cairo",Tahoma,Arial,sans-serif!important}
body.admin-body{
  color:var(--a-ivory)!important;
  background:
    radial-gradient(circle at 12% 5%,rgba(142,157,221,.23),transparent 28%),
    radial-gradient(circle at 83% 12%,rgba(245,217,175,.33),transparent 24%),
    linear-gradient(150deg,#f7f8ff 0%,#eef1fb 48%,#f8f4ef 100%)!important;
  background-attachment:fixed!important;
}
body.admin-body:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle,rgba(87,103,167,.15) 1px,transparent 1.2px);
  background-size:34px 34px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 72%);
  animation:moonDust 24s linear infinite;
}
.admin-sidebar{
  background:linear-gradient(180deg,rgba(29,39,72,.98),rgba(43,52,91,.97))!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
  box-shadow:-16px 0 42px rgba(37,48,91,.18)!important;
  color:#fff!important;
}
.admin-sidebar:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 20% 4%,rgba(255,255,255,.15),transparent 20%),radial-gradient(circle at 85% 26%,rgba(204,177,255,.13),transparent 24%)}
.admin-sidebar>*{position:relative;z-index:1}
.admin-sidebar-brand{padding:8px 7px!important;border-radius:18px!important}
.sidebar-logo-halo{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.17);box-shadow:0 10px 30px rgba(8,12,32,.28)}
.admin-sidebar-brand img{width:47px!important;height:47px!important;filter:brightness(0) invert(1) drop-shadow(0 5px 12px rgba(0,0,0,.2))}
.sidebar-brand-copy strong{color:#fff!important;font-size:16px!important}.sidebar-brand-copy small{color:#f5d7a5!important}
.admin-nav{gap:7px!important;margin-top:34px!important}
.admin-nav a{color:rgba(255,255,255,.73)!important;border:1px solid transparent!important;border-radius:14px!important;transition:transform .25s ease,background .25s ease,border-color .25s ease,color .25s ease!important;overflow:hidden;position:relative}
.admin-nav a:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.16),transparent 80%);transform:translateX(120%);transition:transform .55s ease}
.admin-nav a:hover:after{transform:translateX(-120%)}
.admin-nav a:hover{transform:translateX(-4px);color:#fff!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important}
.admin-nav a.active{color:#222b4b!important;background:linear-gradient(135deg,#fff,#eef0ff)!important;border-color:#fff!important;box-shadow:0 10px 26px rgba(11,16,43,.28)!important}
.admin-nav a span{color:#f1cf99!important}.admin-nav a.active span{color:#a97844!important}.admin-nav a b{font-weight:700}
.admin-sidebar-footer{border-top-color:rgba(255,255,255,.12)!important}.admin-sidebar-footer small{color:rgba(255,255,255,.55)!important}.admin-sidebar-footer strong{color:#fff!important}.admin-sidebar-footer a{color:#ffc2c9!important}
.admin-content{animation:pageFloatIn .55s cubic-bezier(.2,.8,.2,1) both}
.admin-kicker{color:#8b6bb4!important;font-size:10px!important}.admin-topbar h1,.admin-detail-header h1{color:#1e2847!important;text-shadow:0 10px 30px rgba(67,77,126,.08)}
.admin-topbar p,.admin-detail-header p,.detail-back{color:#7b849e!important}
.admin-panel,.detail-card,.action-card,.admin-form-panel{
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(248,249,255,.78))!important;
  border:1px solid rgba(102,115,166,.17)!important;
  border-radius:24px!important;
  box-shadow:0 18px 50px rgba(78,89,139,.11)!important;
  backdrop-filter:blur(16px);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important;
}
.admin-panel:hover,.detail-card:hover,.action-card:hover{transform:translateY(-3px);box-shadow:0 24px 65px rgba(78,89,139,.16)!important;border-color:rgba(118,132,194,.28)!important}
.admin-stats{gap:14px!important;border:0!important}.admin-stats article{border:1px solid rgba(102,115,166,.15)!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,rgba(238,241,255,.85))!important;box-shadow:0 14px 38px rgba(78,89,139,.09)!important;transition:transform .28s ease,box-shadow .28s ease!important;animation:cardRise .55s both}
.admin-stats article:nth-child(2){animation-delay:.06s}.admin-stats article:nth-child(3){animation-delay:.12s}.admin-stats article:nth-child(4){animation-delay:.18s}.admin-stats article:hover{transform:translateY(-5px) scale(1.01);box-shadow:0 22px 48px rgba(78,89,139,.15)!important}
.admin-stats small,.admin-stats span{color:#818aa5!important}.admin-stats strong{color:#5a6eb8!important}
.admin-field>span,.detail-list small,.detail-note small,.action-card small,.admin-table th{color:#77809a!important}
.admin-field input,.admin-field select,.admin-field textarea,.booking-filters input,.booking-filters select,.status-action{
  color:#202a48!important;background:rgba(255,255,255,.84)!important;border-color:rgba(104,118,170,.2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease!important
}
.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus,.booking-filters input:focus,.booking-filters select:focus{border-color:#8696d6!important;box-shadow:0 0 0 4px rgba(118,137,211,.13)!important;transform:translateY(-1px)}
.admin-field select option,.booking-filters select option{background:#fff!important;color:#202a48!important}
.admin-primary-button,.booking-filters button{background:linear-gradient(135deg,#6f83d1,#9a77c6)!important;color:#fff!important;border:0!important;border-radius:14px!important;box-shadow:0 14px 34px rgba(103,119,193,.26)!important;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important}
.admin-primary-button:hover,.booking-filters button:hover{transform:translateY(-2px);box-shadow:0 19px 40px rgba(103,119,193,.34)!important;filter:saturate(1.08)}
.booking-filters>a,.row-actions a,.row-actions button,.map-admin-button{color:#36405f!important;background:rgba(255,255,255,.78)!important;border-color:rgba(102,115,166,.18)!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important}
.row-actions a:hover,.row-actions button:hover,.booking-filters>a:hover,.map-admin-button:hover{transform:translateY(-2px);background:#fff!important;box-shadow:0 10px 25px rgba(73,84,133,.12)!important}
.admin-table td{color:#293350!important}.admin-table th,.admin-table td{border-top-color:rgba(104,118,170,.13)!important}.booking-id-link{color:#687dca!important}.phone-link{color:#7c859e!important}
.detail-list,.service-detail-grid{border-color:rgba(104,118,170,.13)!important}.detail-list div,.service-detail-grid div{border-color:rgba(104,118,170,.13)!important;background:rgba(255,255,255,.38)}
.detail-list strong,.detail-note strong,.action-card>strong,.detail-card-heading h2,.admin-form-heading h2,.table-headline h2{color:#26304f!important}.service-detail-grid strong{color:#6d81ce!important}.service-detail-grid span,.detail-note p,.action-card>span{color:#7b849e!important}
.admin-form-section+.admin-form-section,.admin-form-submit{border-top-color:rgba(104,118,170,.13)!important}.admin-form-heading>span,.detail-card-heading>span{color:#7b69ae!important;border-color:rgba(123,105,174,.26)!important;background:#f4f1ff!important}
.admin-check-field{color:#6f7893!important;border-color:rgba(104,118,170,.18)!important;background:rgba(255,255,255,.65)!important}
.status-badge,.source-badge{box-shadow:inset 0 1px rgba(255,255,255,.6)}
.status-badge.pending{color:#8a6840!important;background:#fff5df!important;border-color:#edd39d!important}.status-badge.confirmed{color:#34745a!important;background:#e8f7ef!important;border-color:#b8dfcb!important}.status-badge.completed{color:#4e5fa4!important;background:#edf0ff!important;border-color:#cbd3fb!important}.status-badge.rejected,.status-badge.cancelled{color:#a3485d!important;background:#fff0f3!important;border-color:#efc3cd!important}
@keyframes pageFloatIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes cardRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes moonDust{to{background-position:34px 34px}}
@media(max-width:900px){
  .admin-sidebar{background:linear-gradient(145deg,#1d2748,#394677)!important;border-bottom:0!important;border-radius:0 0 28px 28px!important;box-shadow:0 14px 38px rgba(38,49,92,.2)!important}
  .admin-nav a{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.1)!important;color:#fff!important}
  .admin-nav a.active{background:#fff!important;color:#26304f!important}
}
@media(max-width:480px){
  .admin-nav a{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important;font-size:14px!important}
  .admin-nav a.active{background:#fff!important;color:#26304f!important}
}
@media(prefers-reduced-motion:reduce){body.admin-body:before,.admin-content,.admin-stats article{animation:none!important}.admin-panel,.detail-card,.action-card,.admin-nav a,.admin-primary-button{transition:none!important}}

/* =========================================================
   SM STUDIO SIGNATURE UI — bespoke iconography & motion
   ========================================================= */
html,body,input,select,textarea,button{font-family:"Cairo",Tahoma,Arial,sans-serif!important}
:root{
  --sm-ink:#19213c;
  --sm-night:#202a4f;
  --sm-night-2:#34416f;
  --sm-orchid:#8875c8;
  --sm-sky:#6f88d8;
  --sm-champagne:#d5ad78;
  --sm-paper:#f7f8ff;
  --sm-ease:cubic-bezier(.2,.72,.2,1);
}
.sm-line-icon{width:21px;height:21px;display:block;flex:none;transition:transform .32s var(--sm-ease),stroke-width .32s ease}
.nav-icon-wrap{width:39px!important;height:39px!important;display:grid!important;place-items:center!important;flex:0 0 39px!important;border-radius:13px!important;color:#f4d9ad!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.1)!important;transition:transform .32s var(--sm-ease),background .32s ease,color .32s ease,box-shadow .32s ease!important}
.admin-nav a{min-height:58px!important;padding:8px 9px!important;gap:12px!important;isolation:isolate}
.admin-nav a b{font-size:13px!important;letter-spacing:0!important}
.admin-nav a:hover .nav-icon-wrap{transform:rotate(-5deg) scale(1.06);background:rgba(255,255,255,.14)!important;box-shadow:0 10px 24px rgba(3,8,28,.18)}
.admin-nav a:hover .sm-line-icon{transform:scale(1.05);stroke-width:2.05}
.admin-nav a.active .nav-icon-wrap{color:#76552f!important;background:linear-gradient(145deg,#fff8ed,#f2dfc4)!important;border-color:rgba(213,173,120,.5)!important;box-shadow:0 8px 22px rgba(37,28,19,.12)}
.nav-active-mark{position:absolute;left:9px;width:5px;height:5px;border-radius:50%;background:var(--sm-champagne);box-shadow:0 0 0 5px rgba(213,173,120,.15);opacity:0;transform:scale(.4);transition:.3s var(--sm-ease)}
.admin-nav a.active .nav-active-mark{opacity:1;transform:scale(1)}
.sidebar-brand-copy small{font-size:6.8px!important;letter-spacing:.12em!important}
.sidebar-logo-halo{position:relative;overflow:hidden}
.sidebar-logo-halo:after{content:"";position:absolute;inset:-45%;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.48),transparent 65%);transform:translateX(90%) rotate(15deg);animation:smLogoSweep 6.8s ease-in-out infinite}
.admin-user-chip{display:flex;align-items:center;gap:10px}.admin-user-chip>span:last-child{display:flex;flex-direction:column}
.admin-user-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#2c355d;background:linear-gradient(145deg,#fff,#eadfcf);font-weight:800;box-shadow:0 8px 22px rgba(4,9,30,.2)}
.admin-logout-link{margin-top:14px!important;display:flex!important;align-items:center!important;gap:9px!important;color:#ffd3d9!important}.admin-logout-link .sm-line-icon{width:18px;height:18px}
.admin-logout-link:hover .sm-line-icon{transform:translateX(-3px)}
.admin-panel,.detail-card,.action-card,.admin-form-panel{position:relative;overflow:hidden}
.admin-panel:before,.detail-card:before,.action-card:before,.admin-form-panel:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--sm-sky),var(--sm-orchid),var(--sm-champagne),transparent);opacity:.52;transform:scaleX(.35);transform-origin:center;transition:transform .65s var(--sm-ease),opacity .35s ease;pointer-events:none}
.admin-panel:hover:before,.detail-card:hover:before,.action-card:hover:before,.admin-form-panel:hover:before{transform:scaleX(1);opacity:.82}
.admin-topbar h1,.admin-detail-header h1{letter-spacing:-.035em!important}
.admin-kicker{position:relative;display:inline-flex;align-items:center;gap:8px;letter-spacing:.12em!important}.admin-kicker:before{content:"";width:26px;height:1px;background:linear-gradient(90deg,var(--sm-orchid),transparent)}
.admin-primary-button,.booking-filters button{position:relative;overflow:hidden;isolation:isolate}
.admin-primary-button:before,.booking-filters button:before{content:"";position:absolute;inset:-2px;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.36) 47%,transparent 72%);transform:translateX(125%);transition:transform .7s var(--sm-ease);z-index:-1}.admin-primary-button:hover:before,.booking-filters button:hover:before{transform:translateX(-125%)}
.sm-motion-control{position:relative!important;overflow:hidden!important;isolation:isolate}.sm-ripple{position:absolute;z-index:5;width:12px;height:12px;margin:-6px;border-radius:999px;background:rgba(255,255,255,.52);pointer-events:none;animation:smRipple .62s ease-out forwards}
.admin-alert{animation:smAlertIn .45s var(--sm-ease) both}
.status-badge,.source-badge{transition:transform .22s var(--sm-ease),box-shadow .22s ease}.status-badge:hover,.source-badge:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(65,76,126,.12)}
.admin-table tbody tr{transition:background .22s ease,transform .22s var(--sm-ease)}.admin-table tbody tr:hover{background:rgba(118,137,211,.055);transform:translateX(-2px)}
.admin-field input,.admin-field select,.admin-field textarea{caret-color:var(--sm-orchid)}
.admin-field:focus-within>span:first-child{color:#6b5ea9!important;transform:translateY(-1px)}.admin-field>span:first-child{transition:color .2s ease,transform .2s ease}
.sm-reveal{animation:smReveal .62s var(--sm-ease) both;animation-delay:var(--sm-delay,0ms)}
.sm-row-reveal{animation:smRowReveal .48s var(--sm-ease) both;animation-delay:var(--sm-delay,0ms)}
@keyframes smReveal{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes smRowReveal{from{opacity:0;transform:translateX(13px)}to{opacity:1;transform:none}}
@keyframes smRipple{to{transform:scale(18);opacity:0}}
@keyframes smAlertIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes smLogoSweep{0%,58%,100%{transform:translateX(90%) rotate(15deg)}72%{transform:translateX(-90%) rotate(15deg)}}
@media(max-width:900px){.admin-nav a{min-height:55px!important}.nav-icon-wrap{width:36px!important;height:36px!important;flex-basis:36px!important}.admin-nav a b{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.sm-reveal,.sm-row-reveal,.admin-alert,.sidebar-logo-halo:after{animation:none!important}.sm-motion-control,.nav-icon-wrap,.sm-line-icon{transition:none!important}}

/* ===== SM Studio Quiet Fintech Glass UI — 2026-08-04 ===== */
:root{
  --sm-night-1:#0e1730;
  --sm-night-2:#14264a;
  --sm-gold:#d7b46a;
  --sm-gold-soft:#f1dfb5;
  --sm-glass:rgba(255,255,255,.58);
  --sm-glass-strong:rgba(255,255,255,.72);
  --sm-glass-border:rgba(255,255,255,.68);
  --sm-ink:#17213b;
  --sm-muted:#6f7890;
}
html,body,input,select,textarea,button{font-family:"Cairo",Tahoma,Arial,sans-serif!important}
body.admin-body{
  background:
    radial-gradient(circle at 12% 8%,rgba(215,180,106,.16),transparent 27%),
    radial-gradient(circle at 86% 18%,rgba(98,129,197,.15),transparent 31%),
    linear-gradient(135deg,#eef2fb 0%,#f8f5ef 46%,#e9eef9 100%)!important;
  color:var(--sm-ink)!important;
}
body.admin-body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.32) 49%,transparent 52% 100%);
  opacity:.36;
}
.admin-sidebar{
  background:linear-gradient(165deg,rgba(10,20,44,.98),rgba(18,42,82,.97) 58%,rgba(9,24,53,.98))!important;
  border-left:1px solid rgba(215,180,106,.28)!important;
  box-shadow:-18px 0 48px rgba(12,24,52,.16)!important;
  backdrop-filter:blur(24px) saturate(130%)!important;
}
.admin-sidebar-brand,.admin-sidebar-brand strong{color:#fff!important}
.admin-sidebar-brand small{color:var(--sm-gold)!important}
.admin-sidebar-brand img{filter:drop-shadow(0 8px 18px rgba(215,180,106,.18))}
.admin-nav a{
  color:rgba(239,244,255,.72)!important;
  border-color:transparent!important;
  background:transparent!important;
  transition:background .28s ease,color .28s ease,border-color .28s ease,transform .28s ease!important;
}
.admin-nav a:hover,.admin-nav a.active{
  color:#fff!important;
  background:linear-gradient(110deg,rgba(255,255,255,.13),rgba(215,180,106,.09))!important;
  border-color:rgba(255,255,255,.13)!important;
}
.admin-nav a:hover{transform:translateX(-3px)!important}
.nav-icon-wrap{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;border-radius:10px!important;background:rgba(255,255,255,.075)!important;color:var(--sm-gold-soft)!important;transform-origin:center}
.admin-nav a:hover .nav-icon-wrap{animation:sm-subtle-pulse .72s ease both}
.admin-nav a.active .nav-icon-wrap{background:linear-gradient(135deg,var(--sm-gold),#9d7a3d)!important;color:#101936!important;box-shadow:0 8px 22px rgba(215,180,106,.25)!important}
.admin-user-chip{color:#fff!important}.admin-user-chip small{color:rgba(255,255,255,.52)!important}.admin-logout-link{color:#f3bbc0!important}

.admin-panel,.detail-card,.action-card,.admin-form-panel,.resource-card,.hall-card,.team-booking-card,.team-summary article,
.smart-stats article,.money-stats article,.admin-stats article,.calendar-panel,.calendar-day,.hall-search-box,.team-map-card{
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.44))!important;
  border:1px solid var(--sm-glass-border)!important;
  box-shadow:0 18px 48px rgba(31,49,91,.09),inset 0 1px rgba(255,255,255,.72)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
}
.admin-panel,.detail-card,.action-card,.admin-form-panel,.resource-card,.hall-card,.team-booking-card,.team-summary article{border-radius:20px!important}
.smart-stats,.money-stats{gap:14px!important}
.smart-stats article,.money-stats article,.admin-stats article{border-radius:18px!important;overflow:hidden;position:relative}
.smart-stats article::after,.money-stats article::after,.admin-stats article::after{
  content:"";position:absolute;width:90px;height:90px;left:-35px;bottom:-42px;border-radius:50%;background:radial-gradient(circle,rgba(215,180,106,.16),transparent 66%);pointer-events:none
}
.smart-stats small,.money-stats small,.admin-stats small{color:var(--sm-muted)!important}
.smart-stats strong,.admin-stats strong{color:#1c2b4d!important;text-shadow:none!important}
.sm-counting{font-variant-numeric:tabular-nums;will-change:contents,text-shadow}
.sm-counting.sm-count-complete{animation:sm-gold-arrival .75s ease both}

.admin-primary-button[href="new-booking.php"],.admin-nav a.sm-new-booking{
  position:relative!important;overflow:hidden!important;
  background:linear-gradient(115deg,#d9b76f 0%,#b48a45 38%,#19335f 100%)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 16px 34px rgba(31,52,96,.18),0 6px 18px rgba(215,180,106,.18)!important;
}
.admin-primary-button[href="new-booking.php"]::after,.admin-nav a.sm-new-booking::after{
  content:"";position:absolute;inset:-50% auto -50% -55%;width:34%;transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
  animation:sm-shimmer 5.2s ease-in-out infinite;pointer-events:none
}
.admin-primary-button[href="new-booking.php"]:hover{transform:translateY(-2px)!important;box-shadow:0 20px 38px rgba(31,52,96,.22),0 8px 22px rgba(215,180,106,.22)!important}

.admin-content{animation:sm-page-enter .58s cubic-bezier(.2,.75,.25,1) both;transform-origin:right center}
.sm-page-leaving .admin-content{animation:sm-page-leave .22s ease both}
.sm-reveal,.sm-row-reveal{animation-name:sm-card-enter!important;animation-duration:.52s!important;animation-timing-function:cubic-bezier(.2,.75,.25,1)!important}
.admin-panel:hover,.detail-card:hover,.action-card:hover,.resource-card:hover{transform:translateY(-2px);box-shadow:0 22px 56px rgba(31,49,91,.12),inset 0 1px rgba(255,255,255,.8)!important}

.admin-field input,.admin-field select,.admin-field textarea,.booking-filters input,.booking-filters select,.quick-search input,.calendar-filters input,.calendar-filters select,.live-pricing-row input{
  background:rgba(255,255,255,.62)!important;color:var(--sm-ink)!important;border:1px solid rgba(120,137,177,.22)!important;box-shadow:inset 0 1px rgba(255,255,255,.76)!important;backdrop-filter:blur(10px)
}
.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus,.booking-filters input:focus,.booking-filters select:focus,.quick-search input:focus{
  border-color:rgba(179,139,66,.58)!important;box-shadow:0 0 0 4px rgba(215,180,106,.12),inset 0 1px rgba(255,255,255,.8)!important
}
.admin-table th{background:rgba(25,46,87,.065)!important;color:#4e5b78!important}.admin-table td{border-color:rgba(93,111,153,.13)!important;color:var(--sm-ink)!important}
.row-actions a,.row-actions button,.booking-row-actions a,.booking-row-actions button,.admin-secondary-button,.booking-filters>a{
  background:rgba(255,255,255,.58)!important;color:#26385e!important;border-color:rgba(91,111,155,.2)!important;backdrop-filter:blur(10px)!important
}

/* Restore balanced management layouts */
.resource-grid{display:grid!important;grid-template-columns:minmax(360px,.78fr) minmax(0,1.45fr)!important;gap:22px!important;align-items:start!important}
.resource-grid>.admin-panel{min-width:0!important}.resource-grid>.admin-panel:first-child{position:sticky;top:24px}.resource-list{padding:20px!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:14px!important}
.admin-form{padding:24px!important}.admin-form-grid{padding:22px!important;display:grid!important;grid-template-columns:repeat(3,minmax(180px,1fr))!important;gap:15px!important;align-items:end!important}.admin-form-grid .admin-primary-button{min-height:52px!important}

@keyframes sm-subtle-pulse{0%,100%{transform:scale(1)}40%{transform:scale(1.08)}70%{transform:scale(.98)}}
@keyframes sm-shimmer{0%,64%{left:-55%}82%,100%{left:135%}}
@keyframes sm-page-enter{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
@keyframes sm-page-leave{to{opacity:0;transform:translateX(-14px)}}
@keyframes sm-card-enter{from{opacity:0;transform:translateX(18px) translateY(8px)}to{opacity:1;transform:none}}
@keyframes sm-gold-arrival{0%{text-shadow:0 0 0 rgba(215,180,106,0)}45%{color:#b98d3d;text-shadow:0 0 20px rgba(215,180,106,.72)}100%{color:#1c2b4d;text-shadow:0 0 0 rgba(215,180,106,0)}}

@media(max-width:1050px){.resource-grid{grid-template-columns:1fr!important}.resource-grid>.admin-panel:first-child{position:static}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.admin-form-grid{grid-template-columns:1fr!important}.smart-stats,.money-stats{grid-template-columns:1fr 1fr!important}}
@media(max-width:480px){.smart-stats,.money-stats{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.admin-content,.sm-reveal,.sm-row-reveal,.nav-icon-wrap,.sm-counting,.admin-primary-button[href="new-booking.php"]::after,.admin-nav a.sm-new-booking::after{animation:none!important;transition:none!important}}
/* ===== SM Studio Quiet Fintech Glass UI — 2026-08-04 ===== */
:root{--sm-night-1:#0e1730;--sm-night-2:#14264a;--sm-gold:#d7b46a;--sm-gold-soft:#f1dfb5;--sm-glass-border:rgba(255,255,255,.68);--sm-ink:#17213b;--sm-muted:#6f7890}
html,body,input,select,textarea,button{font-family:"Cairo",Tahoma,Arial,sans-serif!important}
body.admin-body{background:radial-gradient(circle at 12% 8%,rgba(215,180,106,.16),transparent 27%),radial-gradient(circle at 86% 18%,rgba(98,129,197,.15),transparent 31%),linear-gradient(135deg,#eef2fb 0%,#f8f5ef 46%,#e9eef9 100%)!important;color:var(--sm-ink)!important}
body.admin-body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.32) 49%,transparent 52% 100%);opacity:.36}
.admin-sidebar{background:linear-gradient(165deg,rgba(10,20,44,.98),rgba(18,42,82,.97) 58%,rgba(9,24,53,.98))!important;border-left:1px solid rgba(215,180,106,.28)!important;box-shadow:-18px 0 48px rgba(12,24,52,.16)!important;backdrop-filter:blur(24px) saturate(130%)!important}
.admin-sidebar-brand,.admin-sidebar-brand strong{color:#fff!important}.admin-sidebar-brand small{color:var(--sm-gold)!important}.admin-sidebar-brand img{filter:drop-shadow(0 8px 18px rgba(215,180,106,.18))}
.admin-nav a{color:rgba(239,244,255,.72)!important;border-color:transparent!important;background:transparent!important;transition:background .28s ease,color .28s ease,border-color .28s ease,transform .28s ease!important}
.admin-nav a:hover,.admin-nav a.active{color:#fff!important;background:linear-gradient(110deg,rgba(255,255,255,.13),rgba(215,180,106,.09))!important;border-color:rgba(255,255,255,.13)!important}.admin-nav a:hover{transform:translateX(-3px)!important}
.nav-icon-wrap{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;border-radius:10px!important;background:rgba(255,255,255,.075)!important;color:var(--sm-gold-soft)!important;transform-origin:center}.admin-nav a:hover .nav-icon-wrap{animation:sm-subtle-pulse .72s ease both}.admin-nav a.active .nav-icon-wrap{background:linear-gradient(135deg,var(--sm-gold),#9d7a3d)!important;color:#101936!important;box-shadow:0 8px 22px rgba(215,180,106,.25)!important}
.admin-user-chip{color:#fff!important}.admin-user-chip small{color:rgba(255,255,255,.52)!important}.admin-logout-link{color:#f3bbc0!important}
.admin-panel,.detail-card,.action-card,.admin-form-panel,.resource-card,.hall-card,.team-booking-card,.team-summary article,.smart-stats article,.money-stats article,.admin-stats article,.calendar-panel,.calendar-day,.hall-search-box,.team-map-card{background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.44))!important;border:1px solid var(--sm-glass-border)!important;box-shadow:0 18px 48px rgba(31,49,91,.09),inset 0 1px rgba(255,255,255,.72)!important;backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important}
.admin-panel,.detail-card,.action-card,.admin-form-panel,.resource-card,.hall-card,.team-booking-card,.team-summary article{border-radius:20px!important}.smart-stats,.money-stats{gap:14px!important}.smart-stats article,.money-stats article,.admin-stats article{border-radius:18px!important;overflow:hidden;position:relative}.smart-stats article::after,.money-stats article::after,.admin-stats article::after{content:"";position:absolute;width:90px;height:90px;left:-35px;bottom:-42px;border-radius:50%;background:radial-gradient(circle,rgba(215,180,106,.16),transparent 66%);pointer-events:none}.smart-stats small,.money-stats small,.admin-stats small{color:var(--sm-muted)!important}.smart-stats strong,.admin-stats strong{color:#1c2b4d!important;text-shadow:none!important}.sm-counting{font-variant-numeric:tabular-nums;will-change:contents,text-shadow}.sm-counting.sm-count-complete{animation:sm-gold-arrival .75s ease both}
.admin-primary-button[href="new-booking.php"],.admin-nav a.sm-new-booking{position:relative!important;overflow:hidden!important;background:linear-gradient(115deg,#d9b76f 0%,#b48a45 38%,#19335f 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 16px 34px rgba(31,52,96,.18),0 6px 18px rgba(215,180,106,.18)!important}.admin-primary-button[href="new-booking.php"]::after,.admin-nav a.sm-new-booking::after{content:"";position:absolute;inset:-50% auto -50% -55%;width:34%;transform:skewX(-18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);animation:sm-shimmer 5.2s ease-in-out infinite;pointer-events:none}.admin-primary-button[href="new-booking.php"]:hover{transform:translateY(-2px)!important;box-shadow:0 20px 38px rgba(31,52,96,.22),0 8px 22px rgba(215,180,106,.22)!important}
.admin-content{animation:sm-page-enter .58s cubic-bezier(.2,.75,.25,1) both;transform-origin:right center}.sm-page-leaving .admin-content{animation:sm-page-leave .22s ease both}.sm-reveal,.sm-row-reveal{animation-name:sm-card-enter!important;animation-duration:.52s!important;animation-timing-function:cubic-bezier(.2,.75,.25,1)!important}.admin-panel:hover,.detail-card:hover,.action-card:hover,.resource-card:hover{transform:translateY(-2px);box-shadow:0 22px 56px rgba(31,49,91,.12),inset 0 1px rgba(255,255,255,.8)!important}
.admin-field input,.admin-field select,.admin-field textarea,.booking-filters input,.booking-filters select,.quick-search input,.calendar-filters input,.calendar-filters select,.live-pricing-row input{background:rgba(255,255,255,.62)!important;color:var(--sm-ink)!important;border:1px solid rgba(120,137,177,.22)!important;box-shadow:inset 0 1px rgba(255,255,255,.76)!important;backdrop-filter:blur(10px)}.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus,.booking-filters input:focus,.booking-filters select:focus,.quick-search input:focus{border-color:rgba(179,139,66,.58)!important;box-shadow:0 0 0 4px rgba(215,180,106,.12),inset 0 1px rgba(255,255,255,.8)!important}.admin-table th{background:rgba(25,46,87,.065)!important;color:#4e5b78!important}.admin-table td{border-color:rgba(93,111,153,.13)!important;color:var(--sm-ink)!important}.row-actions a,.row-actions button,.booking-row-actions a,.booking-row-actions button,.admin-secondary-button,.booking-filters>a{background:rgba(255,255,255,.58)!important;color:#26385e!important;border-color:rgba(91,111,155,.2)!important;backdrop-filter:blur(10px)!important}
.resource-grid{display:grid!important;grid-template-columns:minmax(360px,.78fr) minmax(0,1.45fr)!important;gap:22px!important;align-items:start!important}.resource-grid>.admin-panel{min-width:0!important}.resource-grid>.admin-panel:first-child{position:sticky;top:24px}.resource-list{padding:20px!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:14px!important}.admin-form{padding:24px!important}.admin-form-grid{padding:22px!important;display:grid!important;grid-template-columns:repeat(3,minmax(180px,1fr))!important;gap:15px!important;align-items:end!important}.admin-form-grid .admin-primary-button{min-height:52px!important}
@keyframes sm-subtle-pulse{0%,100%{transform:scale(1)}40%{transform:scale(1.08)}70%{transform:scale(.98)}}@keyframes sm-shimmer{0%,64%{left:-55%}82%,100%{left:135%}}@keyframes sm-page-enter{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}@keyframes sm-page-leave{to{opacity:0;transform:translateX(-14px)}}@keyframes sm-card-enter{from{opacity:0;transform:translateX(18px) translateY(8px)}to{opacity:1;transform:none}}@keyframes sm-gold-arrival{0%{text-shadow:0 0 0 rgba(215,180,106,0)}45%{color:#b98d3d;text-shadow:0 0 20px rgba(215,180,106,.72)}100%{color:#1c2b4d;text-shadow:0 0 0 rgba(215,180,106,0)}}
@media(max-width:1050px){.resource-grid{grid-template-columns:1fr!important}.resource-grid>.admin-panel:first-child{position:static}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:700px){.admin-form-grid{grid-template-columns:1fr!important}.smart-stats,.money-stats{grid-template-columns:1fr 1fr!important}}@media(max-width:480px){.smart-stats,.money-stats{grid-template-columns:1fr!important}}@media(prefers-reduced-motion:reduce){.admin-content,.sm-reveal,.sm-row-reveal,.nav-icon-wrap,.sm-counting,.admin-primary-button[href="new-booking.php"]::after,.admin-nav a.sm-new-booking::after{animation:none!important;transition:none!important}}

/* ===== HOTFIX: higher contrast + stronger fintech motion ===== */
.quick-search input,
.booking-filters input,
.booking-filters select,
.admin-field input,
.admin-field select,
.admin-field textarea{
  color:#18233f!important;
}
.quick-search input::placeholder,
.booking-filters input::placeholder,
.admin-field input::placeholder,
.admin-field textarea::placeholder{
  color:#667493!important;
  opacity:1!important;
}
.booking-filters > a,
.admin-secondary-button,
.quick-search button,
.booking-filters button{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.quick-search button,
.booking-filters button{
  background:linear-gradient(135deg,#1f3562 0%,#355c9f 36%,#d7b46a 100%)!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(31,53,98,.18),0 8px 18px rgba(215,180,106,.18)!important;
}
.quick-search button::after,
.booking-filters button::after{
  content:"";
  position:absolute;
  inset:-55% auto -55% -70%;
  width:36%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent);
  animation:sm-shimmer 5.4s ease-in-out infinite;
  pointer-events:none;
}
.quick-search button:hover,
.booking-filters button:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 20px 40px rgba(31,53,98,.22),0 10px 20px rgba(215,180,106,.22)!important;
}
.quick-search input,
.booking-filters input,
.booking-filters select{
  background:rgba(255,255,255,.8)!important;
}
.quick-search{
  align-items:center!important;
}
.table-headline span,
.quick-search-note,
.admin-topbar p,
.admin-detail-header p,
.smart-stats small,
.money-stats small{
  color:#647392!important;
}
.smart-stats article,
.money-stats article,
.admin-stats article{
  min-height:148px!important;
}
.smart-stats strong,
.admin-stats strong{
  display:inline-flex!important;
  align-items:flex-end!important;
  gap:6px!important;
  min-height:44px!important;
  font-size:34px!important;
  font-weight:800!important;
  letter-spacing:-0.02em;
}
.sm-counting{
  position:relative;
}
.sm-counting.sm-count-complete{
  text-shadow:0 0 0 rgba(215,180,106,0);
}
@keyframes sm-zero-pulse{
  0%{transform:scale(.88);opacity:.55;text-shadow:0 0 0 rgba(215,180,106,0)}
  55%{transform:scale(1.08);opacity:1;text-shadow:0 0 16px rgba(215,180,106,.5)}
  100%{transform:scale(1);opacity:1;text-shadow:0 0 0 rgba(215,180,106,0)}
}
.sm-counting.sm-count-zero-complete{
  animation:sm-zero-pulse .72s ease both;
}
.admin-sidebar{
  background:linear-gradient(180deg,#15254a 0%,#0f2d59 52%,#0b2246 100%)!important;
}
.admin-nav a:hover .nav-icon-wrap,
.admin-nav a:focus-visible .nav-icon-wrap{
  animation:sm-subtle-pulse .72s ease both!important;
}
.blocked-page-grid{
  display:grid;
  grid-template-columns:minmax(340px,.92fr) minmax(0,1.08fr);
  gap:18px;
  align-items:start;
}
.blocked-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.blocked-form-grid .full{grid-column:1/-1}
.blocked-tip{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(215,180,106,.2);
  background:linear-gradient(135deg,rgba(215,180,106,.11),rgba(255,255,255,.45));
  color:#46526f;
  font-size:13px;
  line-height:1.85;
}
.blocked-empty{
  padding:48px 22px;
  text-align:center;
  color:#687690;
}
.blocked-table .admin-table{min-width:100%!important}
.blocked-table .row-actions{justify-content:flex-end}
@media(max-width:1050px){
  .blocked-page-grid{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .blocked-form-grid{grid-template-columns:1fr!important}
}

/* ===== HOTFIX 3: count-up, empty states, premium resources, loader ===== */

.smart-stats article,
.money-stats article,
.admin-stats article,
.resource-summary article{
  background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.22))!important;
  border:1px solid rgba(255,255,255,.42)!important;
  box-shadow:0 18px 48px rgba(31,49,91,.1),inset 0 1px rgba(255,255,255,.75)!important;
  backdrop-filter:blur(16px) saturate(140%);
}
.smart-stats article span{color:#667493!important}
.alert-panel .alerts-list{display:grid;gap:12px}
.admin-empty--premium{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 22px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.22));border:1px solid rgba(255,255,255,.42);box-shadow:inset 0 1px rgba(255,255,255,.72)}
.admin-empty--premium .empty-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;color:#b88d43;background:linear-gradient(135deg,rgba(215,180,106,.18),rgba(38,69,117,.08));box-shadow:0 16px 34px rgba(31,49,91,.08)}
.admin-empty--premium .empty-icon svg{width:30px;height:30px}
.admin-empty--premium h3{margin:14px 0 6px;font-size:18px;color:#1d2f56}
.admin-empty--premium p{margin:0;color:#62718f;max-width:420px;line-height:1.9}

.resource-page{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(0,1.2fr);gap:20px;align-items:start}
.resource-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.resource-summary article{padding:18px;border-radius:18px}
.resource-summary small{display:block;color:#697892;margin-bottom:6px}
.resource-summary strong{font-size:30px;color:#19345f}
.resource-side .admin-panel,.resource-main .admin-panel{height:100%}
.resource-note{padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,rgba(215,180,106,.11),rgba(255,255,255,.45));border:1px solid rgba(215,180,106,.2);color:#4b5874;line-height:1.85;font-size:13px;margin-top:14px}
.resource-stack{display:grid;gap:18px}
.resource-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.resource-toolbar .booking-filters{padding:0!important;background:none!important;border:none!important;box-shadow:none!important;backdrop-filter:none!important;display:flex;gap:10px;align-items:center}
.resource-toolbar .booking-filters input,.resource-toolbar .booking-filters select{min-width:180px}
.resource-table .admin-table td small{display:block;margin-top:4px;color:#7a88a1}
.resource-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(31,53,98,.06);color:#294372;font-size:12px;font-weight:700}
.resource-pill b{font-size:13px}
.row-actions button,.row-actions a{border-radius:12px!important}
.team-link-box{display:flex;gap:8px;flex-wrap:wrap}
.team-link-box a{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:10px;background:rgba(31,53,98,.08);color:#284271;text-decoration:none;font-weight:700}
.team-link-box a:hover{background:rgba(31,53,98,.12)}
@media(max-width:1100px){.resource-page{grid-template-columns:1fr!important}.resource-summary{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.resource-summary{grid-template-columns:1fr!important}}

/* ===== HOTFIX 4: semantic identity for top stat cards ===== */
:root{
  --stat-gold:#b98d42;
  --stat-blue:#5f86bf;
  --stat-green:#63a982;
  --stat-indigo:#6b71b8;
  --stat-amber:#c99550;
  --stat-red:#c96d78;
}
.smart-stats{gap:15px!important}
.smart-stats .stat-card{
  --stat-accent:var(--stat-gold);
  position:relative!important;
  min-height:164px!important;
  padding:22px!important;
  overflow:hidden!important;
  isolation:isolate;
  border:1px solid color-mix(in srgb,var(--stat-accent) 32%,rgba(255,255,255,.5))!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.44))!important;
  box-shadow:0 18px 44px rgba(31,49,91,.09),inset 0 1px rgba(255,255,255,.86)!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;
}
.smart-stats .stat-card::before{
  content:"";
  position:absolute;
  inset:auto -38px -52px auto;
  width:128px;
  height:128px;
  border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--stat-accent) 22%,transparent),transparent 68%);
  z-index:-1;
  transition:transform .35s ease,opacity .35s ease;
}
.smart-stats .stat-card::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:42%;
  height:3px;
  border-radius:0 18px 0 999px;
  background:linear-gradient(90deg,transparent,var(--stat-accent));
  opacity:.58;
}
.smart-stats .stat-card:hover{
  transform:translateY(-4px)!important;
  border-color:color-mix(in srgb,var(--stat-accent) 48%,rgba(255,255,255,.6))!important;
  box-shadow:0 24px 58px rgba(31,49,91,.14),0 10px 24px color-mix(in srgb,var(--stat-accent) 12%,transparent),inset 0 1px rgba(255,255,255,.9)!important;
}
.smart-stats .stat-card:hover::before{transform:scale(1.14);opacity:.9}
.smart-stats .stat-card__icon{
  position:absolute;
  top:17px;
  left:17px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:var(--stat-accent)!important;
  background:color-mix(in srgb,var(--stat-accent) 10%,rgba(255,255,255,.82));
  border:1px solid color-mix(in srgb,var(--stat-accent) 24%,rgba(255,255,255,.8));
  box-shadow:0 10px 24px color-mix(in srgb,var(--stat-accent) 10%,transparent);
  transition:transform .35s ease,background .35s ease;
}
.smart-stats .stat-card:hover .stat-card__icon{
  transform:translateY(-2px) rotate(-4deg);
  background:color-mix(in srgb,var(--stat-accent) 15%,rgba(255,255,255,.86));
}
.smart-stats .stat-card__icon svg{width:20px;height:20px}
.smart-stats .stat-card small{
  max-width:calc(100% - 48px);
  color:#43516d!important;
  font-size:12px!important;
  font-weight:700!important;
}
.smart-stats .stat-card strong{
  color:#17284a!important;
  font-size:37px!important;
  line-height:1.15;
}
.smart-stats .stat-card > span:last-child{
  color:#5a6885!important;
  font-size:11px!important;
  font-weight:600;
}
.stat-card--gold{--stat-accent:var(--stat-gold)!important}
.stat-card--blue{--stat-accent:var(--stat-blue)!important}
.stat-card--green{--stat-accent:var(--stat-green)!important}
.stat-card--indigo{--stat-accent:var(--stat-indigo)!important}
.stat-card--amber{--stat-accent:var(--stat-amber)!important}
.stat-card--red{--stat-accent:var(--stat-red)!important}
.stat-card--green strong{color:#286b4b!important}
.stat-card--red strong{color:#9e4654!important}
.stat-card--amber strong{color:#996427!important}
.stat-card--blue strong,.stat-card--indigo strong{color:#355a93!important}
.sm-counting.sm-count-complete,.sm-counting.sm-count-zero-complete{
  animation-duration:.84s!important;
}
@keyframes sm-stat-arrival{
  0%{transform:translateY(8px) scale(.9);opacity:.35;text-shadow:0 0 0 transparent}
  58%{transform:translateY(-2px) scale(1.08);opacity:1;text-shadow:0 0 20px color-mix(in srgb,var(--stat-accent) 52%,transparent)}
  100%{transform:none;opacity:1;text-shadow:0 0 0 transparent}
}
.smart-stats .stat-card .sm-count-complete,
.smart-stats .stat-card .sm-count-zero-complete{
  animation:sm-stat-arrival .84s cubic-bezier(.2,.8,.2,1) both!important;
}
.table-headline span,
.admin-topbar p,
.admin-detail-header p,
.quick-search input::placeholder,
.booking-filters input::placeholder,
.admin-field input::placeholder,
.admin-field textarea::placeholder{
  color:#566681!important;
  opacity:1!important;
}
.admin-table th{color:#41516e!important;font-weight:700!important}
.admin-table td small,.resource-table .admin-table td small{color:#667692!important}
@media(max-width:1180px){.smart-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.smart-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.smart-stats{grid-template-columns:1fr!important}}

/* ===== HOTFIX 5: contrast, button consistency and dashboard spacing ===== */
:root{
  --sm-text-secondary:#465674;
  --sm-text-tertiary:#5b6b87;
  --sm-action-navy:#244773;
  --sm-action-navy-hover:#1d3b64;
  --sm-action-gold:#c9a45c;
}

/* Stronger secondary-text contrast for bright rooms and lower-quality screens */
.smart-stats .stat-card small,
.smart-stats .stat-card > span:last-child,
.table-headline span,
.admin-topbar p,
.admin-detail-header p,
.admin-field > span,
.admin-table td small,
.resource-table .admin-table td small,
.quick-search input::placeholder,
.booking-filters input::placeholder,
.admin-field input::placeholder,
.admin-field textarea::placeholder{
  color:var(--sm-text-secondary)!important;
  opacity:1!important;
}
.smart-stats .stat-card small{font-weight:750!important}
.smart-stats .stat-card > span:last-child{color:var(--sm-text-tertiary)!important}

/* One visual language: restrained gradient only on primary actions; all secondary actions stay glass-flat */
.admin-primary-button,
.quick-search button,
.booking-filters button{
  background:linear-gradient(135deg,var(--sm-action-navy) 0%,#315b91 72%,var(--sm-action-gold) 145%)!important;
  border:1px solid rgba(255,255,255,.2)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(36,71,115,.18)!important;
}
.admin-primary-button:hover,
.quick-search button:hover,
.booking-filters button:hover{
  background:linear-gradient(135deg,var(--sm-action-navy-hover) 0%,#294f82 76%,#b9904a 145%)!important;
  box-shadow:0 16px 34px rgba(36,71,115,.22)!important;
}
.admin-secondary-button,
.booking-filters > a,
.row-actions a,
.row-actions button{
  background:rgba(255,255,255,.62)!important;
  border:1px solid rgba(83,105,149,.19)!important;
  color:#2c4269!important;
  box-shadow:0 7px 18px rgba(31,49,91,.07)!important;
}

/* Compact quick search and give the main alerts more breathing room */
.dashboard-columns{
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr)!important;
  align-items:start!important;
  gap:18px!important;
}
.dashboard-columns > .admin-panel:last-child{
  align-self:start!important;
}
.dashboard-columns > .admin-panel:last-child .table-headline{
  padding:18px 20px 10px!important;
}
.dashboard-columns > .admin-panel:last-child .table-headline h2{
  font-size:18px!important;
}
.dashboard-columns > .admin-panel:last-child .quick-search{
  padding:10px 18px 18px!important;
  gap:10px!important;
}
.dashboard-columns > .admin-panel:last-child .quick-search input{
  min-height:44px!important;
}
.dashboard-columns > .admin-panel:last-child .quick-search button{
  min-height:44px!important;
  padding-inline:18px!important;
}

/* Filters: more spacing and better proportions instead of a cramped single strip */
.booking-filters{
  grid-template-columns:minmax(280px,1.75fr) minmax(160px,.85fr) minmax(165px,.85fr) minmax(170px,.9fr) auto auto!important;
  gap:13px!important;
  padding:18px!important;
  align-items:center!important;
}
.booking-filters input,
.booking-filters select,
.booking-filters button,
.booking-filters > a{
  min-height:46px!important;
}
.filter-search input{padding-inline-start:40px!important}

/* Keep stat cards visually clear without overusing gradients */
.smart-stats .stat-card{
  background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(247,250,255,.32))!important;
}
.smart-stats .stat-card::after{
  opacity:.68!important;
}

@media(max-width:1180px){
  .dashboard-columns{grid-template-columns:1fr!important}
  .booking-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .filter-search{grid-column:1/-1!important}
}
@media(max-width:720px){
  .booking-filters{grid-template-columns:1fr!important}
  .filter-search{grid-column:auto!important}
  .dashboard-columns > .admin-panel:last-child .quick-search{flex-direction:column!important}
}
.team-location-link{display:inline-flex;margin-top:8px;padding:7px 11px;border-radius:10px;background:rgba(38,69,117,.09);color:#274777;text-decoration:none;font-weight:700;font-size:12px}.team-location-link:hover{background:rgba(38,69,117,.15)}

/* =========================================================
   ARABIC-ONLY LOGIN + 5 SECOND CINEMATIC SPLASH
   ========================================================= */
.sm-language-switch{display:none!important}
html.sm-splash-lock,html.sm-splash-lock body{overflow:hidden!important}
.login-minimal-body{min-height:100svh;margin:0;padding:clamp(16px,3vw,34px);display:grid;place-items:center;overflow-x:hidden;background:
radial-gradient(circle at 12% 12%,rgba(215,180,106,.13),transparent 27%),
radial-gradient(circle at 88% 90%,rgba(55,88,147,.13),transparent 31%),
linear-gradient(145deg,#eef2f8,#f8f4ed 58%,#edf2f8);font-family:"Cairo",Tahoma,Arial,sans-serif!important}
.login-minimal-shell{width:min(1080px,100%);min-height:min(700px,calc(100svh - 68px));display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:32px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.62);box-shadow:0 40px 100px rgba(37,50,83,.16),inset 0 1px rgba(255,255,255,.95);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%)}
.login-minimal-brand{position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(155deg,#152341,#203d70 55%,#0f2348)}
.login-minimal-brand:before{content:"";position:absolute;inset:22px;border:1px solid rgba(215,180,106,.2);border-radius:24px}
.login-minimal-brand:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}
.login-minimal-brand-inner{position:relative;z-index:2;text-align:center}
.login-minimal-brand-inner img{width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 24px 45px rgba(0,0,0,.28))}
.login-minimal-brand-inner h1{margin:14px 0 0;color:#fff;font-size:30px;letter-spacing:.07em}
.login-minimal-panel{display:grid;place-items:center;padding:clamp(34px,6vw,72px);background:rgba(255,255,255,.78)}
.login-minimal-form{width:min(100%,410px)}
.login-minimal-mobile-logo{display:none}
.login-minimal-form h2{margin:0 0 34px;color:#1d2d4f;font-size:clamp(31px,4vw,43px);font-weight:800;text-align:right}
.login-minimal-field{display:block;margin-top:18px}
.login-minimal-field>span{display:block;margin-bottom:9px;color:#31405d;font-size:14px;font-weight:700}
.login-minimal-input{position:relative;display:flex;align-items:center}
.login-minimal-input>svg{position:absolute;right:17px;width:20px;height:20px;fill:none;stroke:#a67f44;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.login-minimal-input input{width:100%;min-height:58px;padding:14px 48px 14px 74px;border:1px solid rgba(70,91,132,.2);border-radius:17px;outline:none;background:rgba(255,255,255,.72);color:#1c2942;font:inherit;font-size:16px;box-shadow:inset 0 1px rgba(255,255,255,.85);transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.login-minimal-input input:focus{border-color:rgba(183,142,71,.58);box-shadow:0 0 0 4px rgba(215,180,106,.12),0 14px 28px rgba(31,52,91,.08);transform:translateY(-1px)}
.login-minimal-toggle{position:absolute;left:12px;min-height:36px;padding:6px 11px;border:0;border-radius:10px;background:#f1e7d9;color:#76573d;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.login-minimal-submit{width:100%;min-height:60px;margin-top:28px;padding:13px 20px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:17px;background:linear-gradient(135deg,#19355f,#2d5a98 66%,#c9a45e);color:#fff;font:inherit;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 19px 38px rgba(31,58,101,.23);transition:transform .22s ease,box-shadow .22s ease}
.login-minimal-submit:hover{transform:translateY(-2px);box-shadow:0 23px 45px rgba(31,58,101,.29)}
.login-minimal-submit svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(180deg)}
.login-minimal-submit.is-loading{cursor:wait;opacity:.84}

.sm-cinematic-splash{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;background:#081124;color:#fff;transition:opacity .85s ease,visibility .85s ease}
.sm-cinematic-splash.is-leaving{opacity:0;visibility:hidden}
.sm-splash-grid{position:absolute;inset:-20%;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:52px 52px;transform:perspective(700px) rotateX(66deg) scale(1.5) translateY(9%);transform-origin:center;opacity:.48;animation:sm-grid-drift 5s ease-in-out both}
.sm-splash-beam{position:absolute;width:34vw;max-width:540px;height:130vh;top:-15vh;background:linear-gradient(180deg,transparent,rgba(215,180,106,.18),transparent);filter:blur(15px);opacity:0}
.beam-a{left:5%;transform:rotate(22deg);animation:sm-beam-a 5s ease-in-out both}
.beam-b{right:4%;transform:rotate(-24deg);animation:sm-beam-b 5s ease-in-out both}
.sm-splash-shutter{position:absolute;width:48vmax;height:48vmax;border:1px solid rgba(215,180,106,.11);transform:rotate(45deg);opacity:0}
.shutter-a{animation:sm-shutter-a 5s cubic-bezier(.22,.75,.18,1) both}
.shutter-b{animation:sm-shutter-b 5s cubic-bezier(.22,.75,.18,1) both}
.shutter-c{animation:sm-shutter-c 5s cubic-bezier(.22,.75,.18,1) both}
.sm-splash-core{position:relative;z-index:3;text-align:center}
.sm-splash-mark{position:relative;width:min(44vw,260px);aspect-ratio:1;margin:auto;display:grid;place-items:center}
.sm-splash-mark img{position:relative;z-index:3;width:72%;height:72%;object-fit:contain;opacity:0;transform:scale(.45) rotate(-14deg);filter:drop-shadow(0 28px 55px rgba(0,0,0,.42));animation:sm-logo-arrive 5s cubic-bezier(.18,.9,.2,1) both}
.sm-splash-ring{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(215,180,106,.35);opacity:0}
.ring-a{animation:sm-ring-a 5s ease both}.ring-b{inset:12%;animation:sm-ring-b 5s ease both}.ring-c{inset:24%;animation:sm-ring-c 5s ease both}
.sm-splash-word{margin-top:22px;color:#ead5a7;font-size:13px;font-weight:800;letter-spacing:.42em;direction:ltr;opacity:0;animation:sm-word-arrive 5s ease both}
.sm-splash-line{width:min(260px,60vw);height:2px;margin:18px auto 0;overflow:hidden;background:rgba(255,255,255,.09)}
.sm-splash-line span{display:block;width:0;height:100%;background:linear-gradient(90deg,transparent,#d7b46a,transparent);animation:sm-line-run 5s ease both}
@keyframes sm-grid-drift{0%{opacity:0;transform:perspective(700px) rotateX(66deg) scale(1.8) translateY(18%)}22%{opacity:.48}100%{transform:perspective(700px) rotateX(66deg) scale(1.35) translateY(4%)}}
@keyframes sm-beam-a{0%,15%{opacity:0;left:-30%}35%{opacity:.8}70%,100%{opacity:.18;left:68%}}
@keyframes sm-beam-b{0%,24%{opacity:0;right:-35%}48%{opacity:.55}82%,100%{opacity:.12;right:65%}}
@keyframes sm-shutter-a{0%{opacity:0;transform:rotate(45deg) scale(2.1)}26%{opacity:.4}60%,100%{opacity:.08;transform:rotate(110deg) scale(.72)}}
@keyframes sm-shutter-b{0%,8%{opacity:0;transform:rotate(-30deg) scale(2.5)}35%{opacity:.32}70%,100%{opacity:.06;transform:rotate(-125deg) scale(.92)}}
@keyframes sm-shutter-c{0%,18%{opacity:0;transform:rotate(90deg) scale(3)}44%{opacity:.24}82%,100%{opacity:.04;transform:rotate(200deg) scale(1.08)}}
@keyframes sm-logo-arrive{0%,20%{opacity:0;transform:scale(.45) rotate(-14deg);filter:blur(10px) drop-shadow(0 28px 55px rgba(0,0,0,.42))}45%{opacity:1;transform:scale(1.06) rotate(1deg);filter:blur(0) drop-shadow(0 28px 55px rgba(0,0,0,.42))}65%,100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes sm-ring-a{0%,18%{opacity:0;transform:scale(.2) rotate(0)}48%{opacity:.65}100%{opacity:.15;transform:scale(1.22) rotate(180deg)}}
@keyframes sm-ring-b{0%,24%{opacity:0;transform:scale(.2) rotate(0)}54%{opacity:.52}100%{opacity:.13;transform:scale(1.38) rotate(-220deg)}}
@keyframes sm-ring-c{0%,30%{opacity:0;transform:scale(.2)}62%{opacity:.42}100%{opacity:.1;transform:scale(1.55)}}
@keyframes sm-word-arrive{0%,48%{opacity:0;transform:translateY(12px);letter-spacing:.65em}66%,100%{opacity:1;transform:none;letter-spacing:.42em}}
@keyframes sm-line-run{0%,48%{width:0;transform:translateX(120%)}70%{width:100%}100%{width:100%;transform:translateX(-120%)}}

@media(max-width:800px){
  .login-minimal-body{padding:0;display:block;background:#f3f5f9}
  .login-minimal-shell{width:100%;min-height:100svh;display:block;border:0;border-radius:0;box-shadow:none;background:#fff}
  .login-minimal-brand{display:none}
  .login-minimal-panel{min-height:100svh;padding:calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));align-items:center;background:linear-gradient(180deg,#f6f8fc,#fff 35%,#f8f5ef)}
  .login-minimal-form{width:100%;max-width:480px;margin:auto}
  .login-minimal-mobile-logo{width:126px;height:126px;margin:0 auto 32px;display:grid;place-items:center;border-radius:30px;background:rgba(240,225,207,.82);border:1px solid rgba(183,142,71,.22);box-shadow:0 18px 42px rgba(57,68,98,.1)}
  .login-minimal-mobile-logo img{width:108px;height:108px;object-fit:contain}
  .login-minimal-form h2{text-align:center;margin-bottom:32px;font-size:34px}
  .login-minimal-input input{min-height:58px;font-size:16px}
  .login-minimal-submit{min-height:60px}
  .sm-splash-mark{width:min(64vw,235px)}
}
@media(max-width:380px){
  .login-minimal-panel{padding-inline:16px}
  .login-minimal-mobile-logo{width:108px;height:108px;margin-bottom:24px}
  .login-minimal-mobile-logo img{width:92px;height:92px}
  .login-minimal-form h2{font-size:29px;margin-bottom:25px}
  .login-minimal-field{margin-top:15px}
  .login-minimal-input input{min-height:54px}
  .login-minimal-submit{min-height:56px;margin-top:23px}
}
@media(prefers-reduced-motion:reduce){.sm-cinematic-splash{display:none!important}.login-minimal-submit,.login-minimal-input input{transition:none!important}}

/* Team portal v3 — mobile-first */
.team-portal-premium{min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(215,180,106,.14),transparent 28%),linear-gradient(145deg,#eef3fb,#f8f4ee);color:#1a2948;font-family:"Cairo",Tahoma,Arial,sans-serif}
.team-portal-premium .team-portal-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(16px,4vw,42px);background:linear-gradient(135deg,rgba(13,30,61,.97),rgba(22,57,105,.96));border-bottom:1px solid rgba(215,180,106,.35);box-shadow:0 12px 32px rgba(16,35,70,.16);backdrop-filter:blur(16px)}
.team-brand-wrap{display:flex;align-items:center;gap:12px}.team-brand-wrap img{width:54px;height:54px;object-fit:contain;border-radius:16px;background:rgba(255,255,255,.1);padding:4px}.team-brand-wrap small{display:block;color:#d8b56c;font-size:10px;letter-spacing:.12em}.team-brand-wrap h1{margin:2px 0 0;color:#fff;font-size:20px}.team-portal-premium .team-portal-header>a{padding:10px 14px;border-radius:12px;color:#fff;text-decoration:none;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12)}
.team-portal-premium .team-portal-main{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:26px 0 60px}
.team-welcome-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:24px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.5));border:1px solid rgba(215,180,106,.28);box-shadow:0 20px 50px rgba(31,49,91,.1);backdrop-filter:blur(18px)}
.team-welcome-card span{color:#9c7437;font-weight:800;font-size:12px}.team-welcome-card h2{margin:6px 0;font-size:26px}.team-welcome-card p{margin:0;color:#5d6b86}.team-today-count{min-width:110px;text-align:center;padding:16px;border-radius:20px;background:linear-gradient(145deg,#173663,#d4ad62);color:#fff}.team-today-count strong{display:block;font-size:34px}.team-today-count small{color:#fff}
.team-portal-premium .team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.team-portal-premium .team-summary article{padding:18px;border-radius:18px;background:rgba(255,255,255,.62);border:1px solid rgba(83,105,151,.16);box-shadow:0 14px 35px rgba(31,49,91,.08);backdrop-filter:blur(16px)}.team-portal-premium .team-summary small{display:block;color:#64728c}.team-portal-premium .team-summary strong{display:block;margin-top:5px;font-size:28px;color:#183661}
.team-booking-list{display:grid;gap:18px}.team-portal-premium .team-booking-card{padding:22px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(255,255,255,.55));border:1px solid rgba(83,105,151,.18);box-shadow:0 20px 50px rgba(31,49,91,.1);backdrop-filter:blur(18px)}.team-portal-premium .team-booking-card.is-today{border-color:rgba(215,180,106,.65);box-shadow:0 22px 56px rgba(178,135,57,.16)}
.team-portal-premium .team-booking-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid rgba(73,94,137,.12)}.team-portal-premium .team-booking-card h2{margin:9px 0 3px;font-size:22px}.team-portal-premium .team-booking-card header small{color:#67758f}.team-today-badge{display:inline-flex;padding:6px 10px;margin-left:8px;border-radius:999px;background:#e8c77f;color:#4d3716;font-size:11px;font-weight:800}.team-date-box{text-align:left;direction:ltr}.team-date-box strong,.team-date-box span{display:block}.team-date-box strong{font-size:17px;color:#173663}.team-date-box span{margin-top:5px;color:#9c7437;font-weight:800}
.team-portal-premium .team-booking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.team-portal-premium .team-booking-grid>div{padding:14px;border-radius:16px;background:rgba(238,243,251,.62);border:1px solid rgba(83,105,151,.11)}.team-portal-premium .team-booking-grid small{display:block;color:#65738d;margin-bottom:5px}.team-portal-premium .team-booking-grid strong{display:block;color:#1b3158}.team-portal-premium .team-booking-grid span{display:block;margin-top:4px;color:#6f7c94;font-size:12px}
.team-location-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.team-location-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:13px;background:linear-gradient(135deg,#183865,#35649e);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 10px 24px rgba(24,56,101,.16)}
.team-portal-premium .team-equipment,.team-portal-premium .team-note{margin-top:14px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.56);border:1px solid rgba(83,105,151,.13)}.team-portal-premium .team-equipment small,.team-portal-premium .team-note small{color:#9b7133}.team-portal-premium .team-equipment p,.team-portal-premium .team-note p{margin:5px 0 0;color:#344563;line-height:1.8}
.team-portal-premium .team-booking-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.team-portal-premium .team-booking-actions form{margin:0}
@media(max-width:800px){.team-portal-premium .team-booking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-welcome-card{padding:20px}.team-welcome-card h2{font-size:22px}}
@media(max-width:560px){.team-portal-premium .team-portal-header{padding:11px 13px}.team-brand-wrap img{width:45px;height:45px}.team-brand-wrap h1{font-size:16px}.team-portal-premium .team-portal-header>a{padding:8px 10px;font-size:12px}.team-portal-premium .team-portal-main{width:min(100% - 20px,1180px);padding-top:16px}.team-welcome-card{align-items:stretch;flex-direction:column}.team-today-count{display:flex;align-items:center;justify-content:center;gap:10px}.team-today-count strong{font-size:28px}.team-portal-premium .team-summary{grid-template-columns:repeat(3,1fr);gap:7px}.team-portal-premium .team-summary article{padding:12px 8px;text-align:center}.team-portal-premium .team-summary small{font-size:10px}.team-portal-premium .team-summary strong{font-size:23px}.team-portal-premium .team-booking-card{padding:16px;border-radius:20px}.team-portal-premium .team-booking-card>header{flex-direction:column}.team-date-box{text-align:right}.team-portal-premium .team-booking-grid{grid-template-columns:1fr}.team-location-actions{display:grid;grid-template-columns:1fr 1fr}.team-location-actions a{padding-inline:8px;font-size:12px}.team-portal-premium .team-booking-actions .admin-primary-button{width:100%}}

/* Booking form validation and team employee filter */
.booking-field-error{border:1px solid rgba(190,67,67,.55)!important;background:rgba(255,238,238,.7)!important;border-radius:14px;padding:10px!important;box-shadow:0 0 0 4px rgba(190,67,67,.08)!important}.booking-field-error>span{color:#9d3030!important}.booking-field-error input,.booking-field-error select,.booking-field-error textarea{border-color:#c75a5a!important}.admin-field small{display:block;margin-top:7px;color:#667493;line-height:1.7}

/* Booking validation + team form fixes */
.booking-field-error{border-radius:16px;padding:8px;background:rgba(190,55,68,.065);box-shadow:0 0 0 1px rgba(190,55,68,.22)}
.booking-field-error>span{color:#a62636!important;font-weight:800!important}
.booking-field-error input,.booking-field-error select,.booking-field-error textarea{border-color:rgba(190,55,68,.62)!important;box-shadow:0 0 0 4px rgba(190,55,68,.1)!important}
#bookingEmployeeSelect:disabled{opacity:.7;cursor:not-allowed}
#teamEmployeeHint{display:block;margin-top:8px;color:#596987;font-size:13px;line-height:1.7}
