/* HiDEAL V38 — layout/theme refinements. Load after V37. */
:root { --hd38-brand:var(--primary,#087e70); }
/* The outer Add/Edit/CityEdit card remains aligned to the breadcrumb. */
body.hd03-inner-page #hidealRouteContent .hideal-form-v35,
body.hd03-inner-page #hidealRouteContent .hideal-cityedit-shell {
 width:100%!important;max-width:100%!important;margin-inline:auto!important;
 border:1px solid var(--hd-border,#cededb)!important; border-radius:12px!important;
 background:#fff!important; box-sizing:border-box!important;
}
/* Increase just the inner form from 70 to 80 percent (10 percent side gutters). */
@media (min-width:1000px) {
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 form,
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 .hideal-form-heading-shell,
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 .w3-container.city,
 body.hd03-inner-page #hidealRouteContent .hideal-cityedit-shell form,
 body.hd03-inner-page #hidealRouteContent .hideal-cityedit-shell .w3-container.city {
  width:80%!important;max-width:80%!important;margin-left:10%!important;margin-right:10%!important;
  float:none!important;box-sizing:border-box!important;position:relative!important;left:auto!important;transform:none!important;
 }
}
@media (max-width:999px) {
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 form,
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 .hideal-form-heading-shell,
 body.hd03-inner-page #hidealRouteContent .hideal-form-v35 .w3-container.city,
 body.hd03-inner-page #hidealRouteContent .hideal-cityedit-shell form,
 body.hd03-inner-page #hidealRouteContent .hideal-cityedit-shell .w3-container.city {
  width:100%!important;max-width:100%!important;margin-inline:0!important;
 }
}
/* Fix strong actions whose text has inherited an equally dark theme color. */
body.hd03-inner-page .hideal-viewdata-shell .hideal-nav-btn,
body.hd03-inner-page .hideal-viewdata-shell .hideal-nav-btn *,
body.hd03-inner-page .hideal-viewdata-shell #loadMoreBtn,
body.hd03-inner-page .hideal-viewdata-shell #loadMoreBtn *,
body.hd03-inner-page .hideal-cityedit-shell .workflow-nav-button,
body.hd03-inner-page .hideal-cityedit-shell .workflow-nav-button *,
body.hd03-inner-page .hideal-admin-toolbar-v23 a:not(.back),
body.hd03-inner-page .hideal-admin-toolbar-v23 button,
body.hd03-inner-page .hideal-nav-btn,
body.hd03-inner-page .hideal-nav-btn * {
 color:#fff!important; -webkit-text-fill-color:#fff!important; opacity:1!important;
 text-shadow:none!important;
}
body.hd03-inner-page .hideal-viewdata-shell #loadMoreBtn,
body.hd03-inner-page .hideal-viewdata-shell #loadMoreBtn:hover,
body.hd03-inner-page .hideal-viewdata-shell #newcheck thead th,
body.hd03-inner-page .hideal-viewdata-shell #newcheck thead td {
 background-color:var(--primary,#087e70)!important;border-color:var(--primary,#087e70)!important;
}
/* Services: themed wrappers and actionable elements, keeping card geometry unchanged. */
body.hd03-inner-page .services-wrap {border-color:var(--hd-border,var(--primary,#087e70))!important;background:var(--hd-soft,#e5f4f0)!important;}
body.hd03-inner-page .service-item {border-color:var(--hd-border,var(--primary,#087e70))!important;}
body.hd03-inner-page .service-item:hover {background:var(--primary,#087e70)!important;}
body.hd03-inner-page .service-sublist li:before {color:var(--primary,#087e70)!important;}
body.hd03-inner-page .service-item:hover .service-sublist li:before {color:#fff!important;}
body.hd03-inner-page .service-icon {color:var(--primary,#087e70)!important;}
body.hd03-inner-page .service-icon.hd38-mask-icon {background:var(--primary,#087e70)!important;}
body.hd03-inner-page .service-item:hover .service-icon.hd38-mask-icon {background:#fff!important;}
/* Service module: selective action themes, preserve green call/WhatsApp semantic colors. */
body.hd03-inner-page .service-provider-card a[class*="profile"],
body.hd03-inner-page .service-provider-card button[class*="profile"],
body.hd03-inner-page .service-module-card a[class*="profile"],
body.hd03-inner-page .service-module-card button[class*="profile"] {
 background:var(--primary,#087e70)!important;border-color:var(--primary,#087e70)!important;color:#fff!important;
}
