/* ================== Authorized Service Center Page ================== */
:root {
  --asc-btn: #037c22;
  --asc-btn-hover: #03466e;
  --asc-gap: 18px; /* also used on details page */
}

.asc-locator {
    position: relative;
    isolation: isolate;
    padding: clamp(40px, 6vw, 80px) 16px;
    min-height: 360px;
    color: #fff;
    overflow: hidden;
}

/* Background image converted to absolutely positioned IMG */
.asc-locator .asc-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* behind overlay */
}

/* Black overlay (same as before) */
.asc-locator::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: -1;
}


.asc-container { max-width: 1100px; margin: 0 auto; }
.asc-head { text-align: center; }

.asc-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}

.asc-head p {
  margin: 0 0 22px;
  opacity: 0.9;
  font-size: clamp(14px, 1.6vw, 16px);
}

.asc-form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: end;
  text-align: center;
}

.asc-action {
  display: flex;
  justify-content: center;
}

@media (min-width: 720px) {
  .asc-form {
    grid-template-columns: 1.1fr 1.1fr auto;
    gap: 14px;
    text-align: left;
  }
  .asc-action { justify-content: flex-start; }
}

.asc-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  color: #fff;
  text-align: left;
}
.asc-field .muted { opacity: 0.8; font-weight: 400; }

.asc-field select {
  width: 100%;
  appearance: none;
  background: #ffffff;
  color: #0b1720;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 12px 40px 12px 12px;
  font-size: 15px;
  line-height: 1.2;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) calc(1em + 2px),
    calc(100% - 16px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size: 6px 6px, 6px 6px, 1px 1.8em;
  background-repeat: no-repeat;
}

.asc-field select:focus {
  border-color: rgba(3, 124, 34, 0.55);
  box-shadow: 0 0 0 4px rgba(3, 124, 34, 0.15);
}

.asc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; padding: 0px 50px;
  border: none; border-radius: 12px;
  font-size: 25px; font-weight: 700; letter-spacing: .2px; cursor: pointer;
  background: var(--asc-btn); color: #fff;
  transition: transform .05s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(3,124,34,0.28);
  border: 2px solid #fff;
}

.asc-btn:hover,
.asc-btn:focus-visible {
  background: var(--asc-btn-hover);
  box-shadow: 0 8px 20px rgba(3,70,110,0.28);
}

.asc-btn:active { transform: translateY(1px); }

.asc-error {
  display: none;
  margin-top: 6px;
  color: #ffd8d8;
  font-size: 12px;
}
.asc-field.invalid .asc-error { display: block; }
.asc-field.invalid select {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 3px rgba(255, 78, 78, 0.2);
}

/* ================== Authorized Details Page ================== */
.asc-table p{
    text-align: justify;
}
.asc-title {
  font-size: 35px; font-weight: 500; color: #222;
  margin: 0 0 8px; 
  /*text-align: center;*/
}

.asc-centers { display: grid; gap: var(--asc-gap); }

/* Center name (first row value) */
.asc-center-name{
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2937; /* slate-800 */
  font-size: clamp(18px, 2.2vw, 24px);
}

/* Mobile: keep left edge flush for h2 */
@media (max-width: 576px){
  .asc-service-table tr:first-child td{ padding-left: 0; }
  .asc-center-name{ font-size: 18px; }
}

/* desktop/tablet table */
.asc-service-table{
  width:100%; border-collapse:collapse; background:#fff; font-size:15px; margin:0;
}
.asc-service-table th,.asc-service-table td{
  padding:10px 15px; border:1px solid #e9eef2; vertical-align:top; text-align:left;
}
.asc-service-table th{
  width:240px; background:#f9fafc; font-weight:600; color:#2a2f36;
}
.asc-service-table td{ color:#0c0c0c; }
.asc-service-table a{ color:#037c22; font-weight:600; text-decoration:none; }
.asc-service-table a:hover{ text-decoration:underline; }

.icon-bubble{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%; background:#eef7f0; margin-right:8px;
}
.icon-bubble i{ color:#037c22; font-size:13px; }

/* MOBILE: single-box per center, tight & even spacing */
@media (max-width:576px){
  :root{ --asc-gap:12px; }

  .asc-mobile-box{
    border:1px solid #edf1f5; border-radius:14px; background:#fff;
    padding:12px; box-shadow:0 6px 20px rgba(0,0,0,.04);
  }
  .asc-mobile-box .table-responsive{ margin:0; }
  .asc-service-table, .asc-service-table tbody{ display:block; border:none; margin:0; }
  .asc-service-table tr{ display:block; border:none; padding:10px 0; }
  .asc-service-table tr:first-child{ padding-top:0; }
  .asc-service-table tr:last-child{ padding-bottom:0; }
  .asc-service-table tr + tr{ border-top:1px solid #edf1f5; }
  .asc-service-table th, .asc-service-table td{ display:block; border:none; padding:0; }
  .asc-service-table th{
    background:transparent; width:auto; margin:0 0 6px 0;
    display:flex; align-items:center; font-size:14px; color:#2a2f36;
  }
  .asc-service-table td{ font-size:14px; color:#3b4250; padding-left:34px; }
  .asc-title{ font-size:22px; margin-bottom:10px; }
  .asc-centers > .asc-center:last-child{ margin-bottom:0; }
}

/* ===== Timeline Numbers on Desktop ===== */
@media (min-width: 992px){
  .asc-centers{
    position: relative;
    padding-left: 0px;
    counter-reset: asc_step;
    padding-top: 30px;
    gap: 20px; /* tighten outer gaps */
  }

  /* vertical line (optional dotted style) */
  .asc-centers::before{
    content: "";
    position: absolute;
    left: 28px;
    top: 10px;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
    background: #e5e7eb; /* neutral line; change if needed */
  }

  /* numbered badges */
  .asc-center{
    position: relative;
  }
  .asc-center::before{
    counter-increment: asc_step;
    content: counter(asc_step);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 34px; height: 34px; line-height: 34px; text-align: center;
    font-weight: 800; color: #fff; border-radius: 50%;
    background: #037c22;
    box-shadow: 0 0 0 3px #ffffff, 0 2px 10px rgba(3,124,34,0.25);
    z-index: 1;
  }
} /* <-- closes @media (min-width: 992px) */

/* ================== Notes ================== */
.note-section{ padding-block: clamp(20px, 5vw, 20px); }

.note-box{
  background:#fff7e6; border:1px solid #ffd9a3; color:#7a4b00;
  border-radius:10px; padding: 16px 16px; font-size:15px; line-height:1.5;
}

.note-box strong{ font-weight:700; }
.note-meta{ margin-top:6px; font-size:13px; opacity:.9; }

@media (max-width: 768px){
  .note-box{ padding: 28px 14px; }
}

@media (max-width: 480px){
  .note-box{ padding: 20px 12px; font-size:14px; }
}

/* ================== Call Back Request Sticky Sidebar ================== */

/* Sticky Sidebar */
.sticky-callback {
  position: sticky;
  top: 80px;
  z-index: 1;
}

/* Outer Box */
.callback-sidebar-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  z-index: 1;
}

/* Service Icons */
.callback-service-icons {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 12px;
  margin-bottom: 10px;
}
.callback-icon-box {
  flex: 1;
}
.callback-icon-box img {
  width: 45px;
  height: auto;
  margin-bottom: 5px;
}
.callback-icon-box p {
  font-size: 13px;
  margin: 0;
  color: #0c0c0c;
  font-weight: 300;
  line-height: 1.2;
}

/* Form */
.callback-input-wrap {
  position: relative;
  margin-bottom: 10px;
}
.callback-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
.callback-input:focus { border-color: #0073e6; outline: none; }

/* Tick & Cross */
.callback-status {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}
.callback-status.valid::before { content: "✔"; color: green; }
.callback-status.invalid::before { content: "✖"; color: red; }

/* Submit Button */
.callback-submit-btn {
  position: relative;
  width: 100%;
  padding: 12px;
  border: none;
  background: #004080;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
}
.callback-submit-btn .btn-flash {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
  animation: flashAnim 2s infinite;
}
@keyframes flashAnim {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}