/* Service pages share the Auto Diagnoza red, white and charcoal palette. */
.nav-section-label{font-size:9px;letter-spacing:1.5px;color:#a0a0a0;padding:23px 14px 6px;font-weight:750}.nav-section-label:first-child{padding-top:0}.sidebar nav a{font-size:12px}.sidebar .nav-label{display:none}.sidebar .brand-box{padding-bottom:28px}.sidebar nav .service-nav.active{background:#202020;color:#fff;box-shadow:inset 3px 0 #e3242b}.service-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:30px}.service-heading h1{font-size:37px;line-height:1.15;font-weight:650;letter-spacing:-1.4px;margin:13px 0}.service-heading .eyebrow{color:#c92930}.service-heading p{max-width:540px;margin-bottom:0}.service-heading-mark{border-left:1px solid #ddd;padding-left:28px;min-width:155px;display:flex;flex-direction:column;gap:6px}.service-heading-mark span{font-size:9px;color:#999;letter-spacing:2px}.service-heading-mark strong{font-size:22px;letter-spacing:-.6px}.service-heading-mark i{font-style:normal;color:#d8232c;font-size:11px;letter-spacing:2px}.service-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px;align-items:start}.service-card{padding:28px;box-shadow:0 4px 18px #00000004}.section-title{display:flex;align-items:flex-start;gap:15px;margin-bottom:27px}.section-number{display:flex;align-items:center;justify-content:center;flex:none;width:33px;height:33px;background:#fff1f1;color:#d8232c;border-radius:9px;font-size:10px;font-weight:700}.section-title h2{font-size:17px;letter-spacing:-.3px;margin:3px 0 7px}.section-title p{font-size:11px;color:#8c8c8c;margin:0;line-height:1.6}.field-note{font-size:10px;color:#999;margin:0 0 22px}.warranty-claim{border-top:1px solid #eee;padding-top:22px}.warranty-claim>label:last-child{margin-bottom:0}.check-line{display:flex;align-items:center;gap:10px;line-height:1.6;font-size:12px;font-weight:500}.check-line input{width:16px;height:16px;min-height:0;margin:0;flex:none;accent-color:#dc252c}.accessory-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:23px}.check-tile{border:1px solid #e0e0e0;border-radius:8px;display:flex;gap:10px;align-items:center;padding:15px;margin:0;background:#fff;cursor:pointer;font-size:11px}.check-tile:has(input:checked){border-color:#e3242b;background:#fff5f5;color:#c6222a}.check-tile input{width:15px;height:15px;min-height:0;margin:0;accent-color:#d9232b}.laptop-fields{background:#f7f7f7;border-radius:8px;padding:17px 17px 0;margin-bottom:20px}.intake-form textarea, .service-card textarea{font:inherit;font-size:13px;display:block;width:100%;resize:vertical;border:1px solid #d6d6d6;border-radius:8px;padding:13px;line-height:1.7;margin-top:9px;min-height:110px;color:#222;background:#fff}.intake-form textarea:focus,.service-card textarea:focus{outline:2px solid #e8898d;border-color:#e3242b}.intake-summary{position:sticky;top:24px}.receipt-card{background:#202020;color:white;border-radius:13px;padding:28px 25px;position:relative;overflow:hidden;box-shadow:0 12px 28px #00000013}.receipt-card:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:#e3242b}.receipt-card .eyebrow{font-size:9px;letter-spacing:1.7px;color:#bdbdbd}.receipt-number{font-size:29px;font-weight:600;letter-spacing:-.8px;margin:14px 0 7px}.receipt-date{font-size:10px;line-height:1.6;color:#aaa;display:block}.receipt-divider{height:1px;background:#ffffff19;margin:23px 0}.receipt-mini-row{display:flex;flex-direction:column;margin-bottom:18px;gap:7px;overflow-wrap:anywhere}.receipt-mini-row span{font-size:9px;letter-spacing:1px;color:#8f8f8f;text-transform:uppercase}.receipt-mini-row strong{font-size:12px;font-weight:500;line-height:1.6;color:#f5f5f5}.receipt-format{font-size:10px;color:#aaa}.receipt-bottom{margin-top:24px;padding-top:17px;border-top:1px solid #ffffff19;font-size:10px;font-weight:700;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center}.receipt-bottom span{font-size:21px;color:#ed3941}.service-guide{margin:28px 0 24px}.service-guide>div{display:flex;align-items:flex-start;gap:12px;margin-bottom:17px}.service-guide b{background:#eaeaea;color:#555;border-radius:50%;height:21px;min-width:21px;display:flex;align-items:center;justify-content:center;font-size:9px}.service-guide span{font-size:11px;color:#909090;line-height:1.7}.button-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.delete-link{display:block;color:#c7272f;font-size:10px;margin-top:12px}.deletion-card{margin-top:30px}.deletion-card h2{margin:15px 0 10px}.document-code{font-size:12px;letter-spacing:1px;color:#bf2128}.number-display{font-size:20px;letter-spacing:2px;font-weight:650;color:#d9232b!important;background:#fff4f4!important;border-color:#f0cece!important}.service-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 28px}.service-facts{margin:0}.service-facts>div{display:grid;grid-template-columns:140px 1fr;gap:15px;padding:13px 0;border-bottom:1px solid #eee;font-size:12px;line-height:1.7}.service-facts dt{color:#929292}.service-facts dd{margin:0;color:#333;overflow-wrap:anywhere}.readable-block{padding-top:23px}.readable-block>span{font-size:9px;letter-spacing:1.3px;font-weight:650;color:#999}.readable-block p{font-size:13px;line-height:1.85;margin:10px 0 0;color:#444;overflow-wrap:anywhere}.claim-note{border-left:3px solid #dc252c;padding:12px 15px;background:#fff5f5;font-size:11px;line-height:1.7;margin-top:24px}.status-received{background:#f0f0f0;color:#555}.status-in_progress{background:#fff0f0;color:#b92229}.status-ready{background:#262626;color:#fff}.status-delivered{background:#f0f0f0;color:#7b7b7b}.handover-card{border-top:3px solid #272727}.handover-note{font-size:11px;color:#999;line-height:1.8;margin:18px 0}.handover-card .wide{margin-bottom:0}.warranty-approved{margin-top:20px}.service-total{display:flex;align-items:center;justify-content:space-between;padding:22px;background:#202020;color:#fff;border-radius:8px;margin:25px 0 15px;gap:15px}.service-total span{font-size:9px;letter-spacing:1px;color:#ccc}.service-total strong{font-size:28px;white-space:nowrap}.danger{background:#d8232c}.service-card input[readonly]{background:#f5f5f5;color:#777}@media(min-width:1450px){.service-form-layout{grid-template-columns:minmax(0,1fr) 310px;gap:30px}.service-heading h1{font-size:43px}}@media(max-width:1150px){.service-form-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.service-heading h1{font-size:31px}.service-heading-mark{display:none}.service-card{padding:23px}.receipt-card{padding:25px 20px}.receipt-number{font-size:25px}.accessory-choices{grid-template-columns:1fr}.sidebar nav a{font-size:11px}.service-facts>div{grid-template-columns:110px 1fr}}@media(max-width:900px){.service-form-layout{grid-template-columns:1fr}.intake-summary{position:static;grid-row:1}.intake-summary .service-guide,.intake-summary>.muted{display:none}.receipt-card{display:grid;grid-template-columns:1fr 1fr;gap:4px 22px;margin-bottom:4px}.receipt-card>.eyebrow,.receipt-card>.receipt-number,.receipt-card>.receipt-date{grid-column:1}.receipt-card .receipt-divider,.receipt-card .receipt-format,.receipt-card .receipt-bottom{display:none}.receipt-card .receipt-mini-row{grid-column:2;margin:0}.receipt-card .receipt-mini-row:first-of-type{grid-row:1/3}.receipt-card .receipt-mini-row:last-of-type{grid-row:3/5}.receipt-number{margin:9px 0 2px}.receipt-mini-row strong{font-size:11px}.service-heading h1{font-size:32px}.accessory-choices{grid-template-columns:1fr 1fr}}@media(max-width:780px){.nav-section-label{display:none}.sidebar nav a{font-size:10px}.sidebar nav{gap:4px}.sidebar .brand-box{padding-bottom:15px}.service-heading h1{font-size:29px}.service-card .grid{grid-template-columns:1fr 1fr}}@media(max-width:500px){.service-card{padding:20px}.section-title{gap:12px;margin-bottom:24px}.section-title h2{font-size:16px}.service-card .grid{grid-template-columns:1fr}.accessory-choices{gap:8px}.check-tile{padding:13px 10px;font-size:10px}.receipt-card{padding:23px 18px;gap:3px 12px}.receipt-number{font-size:23px}.receipt-date{font-size:9px}.receipt-mini-row span{font-size:8px}.service-heading h1{font-size:27px}.service-facts>div{grid-template-columns:1fr;gap:3px}.service-total strong{font-size:24px}.service-detail-actions .secondary{padding:10px 12px;font-size:10px}}

/* Consistent neutral navigation for all sections. */
.sidebar nav a.active,.sidebar nav .service-nav.active{background:#202020;color:#fff;box-shadow:inset 3px 0 #202020}
.sidebar nav a.active:hover{background:#202020;color:#fff}

/* Separate warranty and service colours; editing surfaces remain white. */
.theme-warranty .workspace{background:#fff0f0}
.theme-service .workspace{background:#eaf6ff}
.sidebar nav a[href="index.php"],.sidebar nav a[href="index.php"].active,.sidebar nav a[href="index.php"].active:hover{background:#e3242b;color:#fff;box-shadow:none}
.sidebar nav a.service-nav,.sidebar nav a.service-nav.active,.sidebar nav a.service-nav.active:hover{background:#269eea;color:#fff;box-shadow:none}
.theme-warranty .sidebar nav a.active{background:#e3242b;color:#fff;box-shadow:none}
.theme-service .sidebar nav a.active,.theme-service .sidebar nav a.active:hover{background:#269eea;color:#fff;box-shadow:none}
.theme-service .receipt-card{background:#269eea;box-shadow:0 12px 28px #269eea20}
.theme-service .receipt-card:before{background:#80d3ff}
.theme-service .receipt-card .eyebrow,.theme-service .receipt-date,.theme-service .receipt-mini-row span,.theme-service .receipt-card .receipt-footer{color:#eef9ff}
.theme-service .receipt-divider{background:#ffffff55}
.theme-service .receipt-card strong,.theme-service .receipt-card a{color:#fff}
.theme-service .service-heading .eyebrow,.theme-service .service-heading-mark i,.theme-service .section-number{color:#168cda}
.theme-service .section-number{background:#eaf6ff}
.theme-service .btn-primary,.theme-service button[type="submit"],.theme-service .save-bar button,.theme-service .filters button{background:#269eea;border-color:#269eea;color:white}
.theme-service .btn-primary:hover,.theme-service button[type="submit"]:hover,.theme-service .save-bar button:hover{background:#158bd5;border-color:#158bd5}
.theme-service .check-line input,.theme-service .check-tile input{accent-color:#269eea}
.theme-service .check-tile:has(input:checked){border-color:#269eea;background:#edf8ff;color:#168cda}
.theme-service input:focus,.theme-service select:focus,.theme-service textarea:focus{outline-color:#91d2fa;border-color:#269eea}
.theme-service .card,.theme-service .service-card,.theme-service input,.theme-service select,.theme-service textarea,.theme-warranty .card,.theme-warranty input,.theme-warranty select,.theme-warranty textarea{background:#fff}

.theme-service{--teal:#269eea}.theme-service .primary{background:#269eea;border-color:#269eea;color:#fff}.theme-service .primary:hover{background:#158bd5;border-color:#158bd5}.theme-service .receipt-bottom,.theme-service .receipt-format{color:#eef9ff}.theme-service .receipt-bottom span{color:#fff}.theme-service .download-link,.theme-service .text-link{color:#168cda}


.sidebar nav a.sales-nav{color:#15935d;background:#f3fbf5}.sidebar nav a.sales-nav:hover{background:#e6f6ec}

.sidebar nav a[href="index.php?page=new"],.sidebar nav a[href="index.php?page=archive"]{background:#fff7f7!important;color:#b44f58!important;border-left:3px solid transparent!important;box-shadow:none!important}
.sidebar nav a[href="index.php?page=new"].active,.sidebar nav a[href="index.php?page=archive"].active{background:#fbe9eb!important;color:#b44f58!important;border-left-color:#b44f58!important;box-shadow:none!important}
.sidebar nav a[href="index.php?page=intake"],.sidebar nav a[href="index.php?page=service_archive"]{background:#f3f8fc!important;color:#447da5!important;border-left:3px solid transparent!important;box-shadow:none!important}
.sidebar nav a[href="index.php?page=intake"].active,.sidebar nav a[href="index.php?page=service_archive"].active{background:#e7f1f8!important;color:#447da5!important;border-left-color:#447da5!important;box-shadow:none!important}
