/* Contact, appointment, quote, and booking styles. */

/* ====================================================
   AMC v2.5 Forms + MOT Status Fix
   ==================================================== */

/* Booking plugin / WPForms placeholder cards */
.amc-form-placeholder {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 1.5rem;
  color: #475467;
  box-shadow: 0 8px 22px rgba(16,24,40,.05);
}

.amc-form-placeholder h3 {
  margin-top: 0;
  color: #101828;
}

/* Booked plugin calendar/form basic styling */
.booked-calendar-wrap,
.booked-appt-list,
.booked-form,
body .booked-modal {
  font-family: inherit;
}

.booked-calendar-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(16,24,40,.07);
  overflow: hidden;
}

body table.booked-calendar th,
body table.booked-calendar td {
  font-family: inherit;
}

body table.booked-calendar thead th {
  background: #061a42 !important;
  color: #fff !important;
}

body table.booked-calendar td.today .date {
  background: #e31e24 !important;
  color: #fff !important;
}

body table.booked-calendar td:hover .date {
  background: #1565c0 !important;
  color: #fff !important;
}

body .booked-calendar-wrap .booked-appt-list .timeslot .timeslot-people button {
  background: #e31e24 !important;
  border-color: #e31e24 !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
}


/* MOT Booking Page UX Fix */
.amc-booking-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(227, 30, 36, 0.28), transparent 30%),
    linear-gradient(135deg, #061a42, #0d47a1);
  color: #fff;
  margin-top: -80px;
  min-height: 500px;
  height: 600px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.amc-booking-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: center;
	margin-top:-80px;
}

.amc-booking-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  max-width: 850px;
  margin: 0 0 18px;
}

.amc-booking-hero p {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
}

.amc-booking-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.amc-booking-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.amc-booking-hero-card strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.amc-booking-hero-card span {
  color: #dbeafe;
  font-weight: 700;
}

.amc-mot-booking-section {
  background: #f6f8fb;
}

.amc-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: start;
}

.amc-booking-main,
.amc-booking-card,
.amc-booking-mini-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.amc-booking-main {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.amc-booking-main h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.amc-booking-intro {
  color: #475467;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.amc-booking-form-area {
  margin-top: 1.25rem;
}

.amc-booking-form-area .booked-calendar-wrap,
.amc-booking-form-area .wpforms-container {
  margin-top: 0;
}

.amc-booking-sidebar {
  position: sticky;
  top: 150px;
}

.amc-booking-card {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 30, 36, 0.08), transparent 35%),
    #ffffff;
}

.amc-sidebar-label {
  display: inline-flex;
  align-items: center;
  background: #fff1f1;
  color: #e31e24;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.amc-booking-card h3 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 28px;
  line-height: 1.15;
}

.amc-booking-card p {
  color: #475467;
  line-height: 1.65;
  margin-bottom: 22px;
}

.amc-sidebar-feature {
  padding: 16px 0;
  border-top: 1px solid #edf1f7;
}

.amc-sidebar-feature strong {
  display: block;
  color: #101828;
  font-size: 18px;
  margin-bottom: 5px;
}

.amc-sidebar-feature span {
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.amc-sidebar-contact {
  margin-top: 20px;
  background: #061a42;
  color: #ffffff;
  border-radius: 18px;
  padding: 18px;
}

.amc-sidebar-contact strong {
  display: block;
  margin-bottom: 8px;
}

.amc-sidebar-contact a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.amc-booking-mini-card {
  margin-top: 18px;
  padding: 20px;
}

.amc-booking-mini-card strong {
  display: block;
  color: #101828;
  margin-bottom: 8px;
}

.amc-booking-mini-card a {
  color: #e31e24;
  font-weight: 900;
  text-decoration: none;
}

/* Booked calendar basic cleanup inside booking page */
.amc-booking-form-area .booked-calendar-wrap {
  border-radius: 20px;
  overflow: hidden;
}

.amc-booking-form-area table.booked-calendar {
  margin-bottom: 0;
}

@media (max-width: 980px) {
	.amc-booking-hero {
		margin-top: -40px;
		min-height: auto;
		height: auto;
		padding-top: 90px;
		padding-bottom: 60px;
	  }
  .amc-booking-hero-grid,
  .amc-booking-layout {
    grid-template-columns: 1fr;
  }

  .amc-booking-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .amc-booking-hero {
    margin-top: -20px;
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .amc-booking-hero-actions {
    display: grid;
  }

  .amc-booking-hero-actions .btn {
    width: 100%;
  }

  .amc-booking-main,
  .amc-booking-card,
  .amc-booking-mini-card {
    border-radius: 18px;
  }

  .amc-booking-card {
    padding: 22px;
  }
}

/* Contact Page UX Fix */
.contact-hero-section {
  margin-top: -80px;
  min-height: 500px;
  height: 600px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.amc-contact-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 30px;
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.amc-contact-hero-card strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.amc-contact-hero-card span {
  display: block;
  color: #dbeafe;
  font-weight: 800;
  margin-bottom: 18px;
}

.amc-contact-hero-card p {
  color: #dbeafe;
  margin: 0;
  line-height: 1.7;
}

.amc-contact-section {
  background: #f6f8fb;
}

.amc-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: start;
}

.amc-contact-main,
.amc-contact-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.amc-contact-main {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.amc-contact-main h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.amc-contact-intro {
  color: #475467;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.amc-contact-form-area {
  margin-top: 1.25rem;
}

.amc-contact-form-area .wpforms-container {
  margin: 0;
}

.amc-contact-form-area .wpforms-field input,
.amc-contact-form-area .wpforms-field textarea,
.amc-contact-form-area .wpforms-field select {
  border-radius: 14px !important;
  border: 1px solid #d0d5dd !important;
  min-height: 48px;
}

.amc-contact-form-area .wpforms-submit {
  background: #e31e24 !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-weight: 900 !important;
}

.amc-contact-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 18px;
}

.amc-contact-card {
  padding: 24px;
}

.amc-contact-call-card {
  background:
    radial-gradient(circle at top right, rgba(227, 30, 36, 0.18), transparent 35%),
    linear-gradient(135deg, #061a42, #0d47a1);
  color: #ffffff;
}

.amc-contact-call-card h3,
.amc-contact-call-card p {
  color: #ffffff;
}

.amc-sidebar-label {
  display: inline-flex;
  align-items: center;
  background: #fff1f1;
  color: #e31e24;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.amc-sidebar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e31e24;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  margin-top: 10px;
}

.amc-contact-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #101828;
}

.amc-contact-call-card h3 {
  color: #ffffff;
}

.amc-contact-row {
  padding: 14px 0;
  border-top: 1px solid #edf1f7;
}

.amc-contact-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.amc-contact-row strong {
  display: block;
  color: #101828;
  margin-bottom: 5px;
}

.amc-contact-row span,
.amc-contact-row a {
  color: #475467;
  line-height: 1.6;
  font-weight: 700;
}

.amc-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #edf1f7;
}

.amc-hours-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.amc-hours-row span {
  color: #667085;
}

.amc-hours-row strong {
  color: #101828;
  text-align: right;
}

.amc-contact-links {
  display: grid;
  gap: 10px;
}

.amc-contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  padding: 13px 14px;
  color: #101828;
  font-weight: 900;
}

.amc-contact-links a:hover {
  background: #fff1f1;
  color: #e31e24;
}

.amc-map-section .map-wrap iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

@media (max-width: 980px) {
  .contact-hero-section {
    margin-top: -40px;
    height: auto;
    min-height: auto;
    padding-top: 90px;
  }

  .amc-contact-layout,
  .contact-hero-section .hero-content-grid {
    grid-template-columns: 1fr;
  }

  .amc-contact-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .contact-hero-section {
    margin-top: -20px;
    padding-top: 70px;
  }

  .amc-contact-main,
  .amc-contact-card {
    border-radius: 18px;
  }

  .amc-hours-row {
    display: block;
  }

  .amc-hours-row strong {
    display: block;
    text-align: left;
    margin-top: 4px;
  }
}

/* Appointment + Free Repair Quote Page Templates */
.amc-form-hero {
  margin-top: -80px;
  min-height: 500px;
  height: 700px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.amc-form-hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  padding: 30px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.amc-form-hero-card strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.amc-form-hero-card span {
  display: block;
  color: #dbeafe;
  font-weight: 800;
  margin-bottom: 16px;
}

.amc-form-hero-card p {
  color: #dbeafe;
  margin: 0;
  line-height: 1.7;
}

.amc-form-section {
  background: #f6f8fb;
}

.amc-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 32px;
  align-items: start;
}

.amc-form-main,
.amc-side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16,24,40,.08);
}

.amc-form-main {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.amc-form-main h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.amc-form-intro {
  color: #475467;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.amc-form-area {
  margin-top: 1.25rem;
}

.amc-form-area .wpforms-container {
  margin: 0;
}

.amc-form-area .wpforms-field input,
.amc-form-area .wpforms-field textarea,
.amc-form-area .wpforms-field select {
  border-radius: 14px !important;
  border: 1px solid #d0d5dd !important;
  min-height: 48px;
}

.amc-form-area .wpforms-submit {
  background: #e31e24 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-weight: 900 !important;
}

.amc-form-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 18px;
}

.amc-side-card {
  padding: 24px;
}

.amc-side-card-blue {
  background:
    radial-gradient(circle at top right, rgba(227,30,36,.18), transparent 35%),
    linear-gradient(135deg, #061a42, #0d47a1);
  color: #fff;
}

.amc-side-card-blue h3,
.amc-side-card-blue p {
  color: #fff;
}

.amc-sidebar-label {
  display: inline-flex;
  align-items: center;
  background: #fff1f1;
  color: #e31e24;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.amc-side-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.amc-side-card-blue a {
  display: inline-flex;
  background: #e31e24;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  margin-top: 8px;
}

.amc-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amc-side-list li {
  padding: 12px 0 12px 28px;
  border-top: 1px solid #edf1f7;
  position: relative;
  color: #475467;
  font-weight: 700;
}

.amc-side-list li:first-child {
  border-top: 0;
}

.amc-side-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e31e24;
  font-weight: 900;
}

.amc-side-links {
  display: grid;
  gap: 10px;
}

.amc-side-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  padding: 13px 14px;
  color: #101828;
  font-weight: 900;
}

.amc-side-links a:hover {
  background: #fff1f1;
  color: #e31e24;
}

@media (max-width: 980px) {
  .amc-form-hero {
    margin-top: -40px;
    height: auto;
    min-height: auto;
    padding-top: 90px;
  }

  .amc-form-layout,
  .amc-form-hero .hero-content-grid {
    grid-template-columns: 1fr;
  }

  .amc-form-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .amc-form-hero {
    margin-top: -20px;
    padding-top: 70px;
  }

  .amc-form-main,
  .amc-side-card {
    border-radius: 18px;
  }
}


/* Inline appointment / quote CTA */
.amc-inline-help-cta {
  margin: 28px 0;
  padding: 22px 24px;
  background: #fff8f8;
  border: 1px solid #ffd7d7;
  border-left: 5px solid #e31e24;
  border-radius: 18px;
}

.amc-inline-help-cta p {
  margin: 0;
  color: #101828;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}

.amc-inline-help-cta a {
  color: #e31e24;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

