@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;700&display=swap");
:root{font:16px/1.55 "IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;color:#102e4d;background:#f3f8fa}*{box-sizing:border-box}body{margin:0}main{max-width:48rem;margin:auto;padding:clamp(8px,2vw,24px)}header{background:#123450;color:white;border-radius:15px;padding:18px 22px}h1{font-size:clamp(21px,4vw,30px);margin:0}header p{margin:4px 0 0;color:#dfedf4}fieldset,article{min-width:0;margin:14px 0 0;border:1px solid #c9dee4;border-radius:12px;background:white;padding:10px 16px 14px}legend{font-weight:700;color:#115562;padding-inline:6px}label{display:grid;gap:3px;margin:5px 0}.grid,.choices{display:flex;gap:12px;flex-wrap:wrap}.grid>label{flex:1 1 200px}.choices>label{display:flex;align-items:center;gap:7px;padding:7px 14px;border:1px solid #c9dee4;border-radius:8px}.choices>label:has(:checked){background:#e5f4f1;border-color:#18736e}.inline{margin:8px 0;border:0;padding:0}.inline legend{padding:0;color:inherit;font-weight:400}input,textarea,button,select{font:inherit}input:not([type=radio]),textarea,select{width:100%;min-height:42px;border:1px solid #a7bdc7;border-radius:7px;padding:6px 10px;background:white;color:inherit}input[type=radio]{accent-color:#0c6269}button{cursor:pointer;background:#0c6269;color:white;border:0;border-radius:8px;padding:9px 18px;margin:8px 0}button:disabled{opacity:.6}small{color:#466477}.photos{display:flex;flex-wrap:wrap;gap:8px}.photos figure{margin:0;display:grid;width:90px}.photos img{width:100%;height:78px;object-fit:cover;border-radius:6px}.photos button{font-size:13px;padding:3px}#status:not(:empty){background:white;border-inline-start:4px solid #16807d;padding:12px}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #3384af;outline-offset:2px}@media(max-width:600px){main{padding:5px}.grid{gap:2px 8px}fieldset{padding:6px 10px 10px;margin-top:9px}header{padding:12px 14px}}
/* Service request colours match the three cards on the storefront. */
:root:has(#service) {
  --service-surface: #eff7f5;
  --service-edge: #c9dfda;
  --service-accent: #35685f;
  background: var(--service-surface);
}
:root:has(#service input[value="صيانة عاجلة"]:checked) {
  --service-surface: #f7f3ee;
  --service-edge: #e2d7ca;
  --service-accent: #765b40;
}
main:has(#service) header, #service button { background: var(--service-accent); }
#service fieldset, #service .choices > label { border-color: var(--service-edge); }
#service legend { color: var(--service-accent); }
#service .choices > label:has(:checked) { background: var(--service-surface); border-color: var(--service-accent); }
#service input[type=radio] { accent-color: var(--service-accent); }
#service :focus-visible { outline-color: var(--service-accent); }
#result:not(:empty) { background: white; border-inline-start: 4px solid var(--service-accent); padding: 12px; }

input::file-selector-button{font:inherit}#service textarea[name="reason"] { resize: none; overflow-y: auto; }
.request-header { display: flow-root; }
.request-close { float: inline-end; display: inline-flex; gap: .35em; align-items: center; justify-content: center; min-height: 44px; padding-inline: .75em; margin-inline-start: .6em; border: 1px solid currentColor; border-radius: 8px; color: white; text-decoration: none; font-weight: 700; }
.request-close:hover { background: rgba(255,255,255,.14); }
.request-close:focus-visible { outline: 3px solid white; outline-offset: 2px; }
:root:has(#service[data-complaint]) { --service-surface: #f2f3f9; --service-edge: #d8dbe8; --service-accent: #535f80; }
