:root {
  /*--primary: #2563eb;*/
  --primary: #06B2A8;
 
  /*--primary-dark: #1e40af;*/
  --primary-dark: #00A8A0;

  --bg: #f4f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 14px;
}

/*body {*/
/*  background: var(--bg);*/
/*  font-family: Inter, system-ui, sans-serif;*/
/*}*/


.a4mb-booking-prime{
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    background-color:#F9FAFD;
}

.regular-date-wrapper,.premium-date-wrapper{
    display:none !important;
}
.regular-date-wrapper.active,.premium-date-wrapper.active{
    display:block !important;
}

.a4mb-container {
  /*min-height: 100vh;*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  margin-top: 50px;
  
}

.a4mb-container .prime-content{
    background-color: white;
    padding-bottom:30px;
}
.a4mb-booking-banner{
    width:100%;
    display:flex;
    justify-content:center;
    margin-top:50px;
    
}
.a4mb-booking-banner .inner{
    width:850px;
    
}
.a4mb-booking-banner .a4mb-booking-content{
    display:flex;
}
.a4mb-booking-banner .a4mb-booking-content .content{
    width:50%;
}
.a4mb-booking-banner .a4mb-booking-content .content.left{
    display:flex;
    justify-content:center;
    flex-direction:column;
}
.a4mb-booking-banner .a4mb-booking-content .content.left h5{
    font-size: 40px;
    color:#213446;
    margin:0;
    margin-bottom:10px;
    font-weight:700;
    
}
.a4mb-booking-banner .a4mb-booking-content .content.left h3{
    font-size: 60px;
    color:#F0561C;
    margin:0;
    font-weight:700;
}
.a4mb-booking-banner .a4mb-booking-content .content.left .book-now {
    background-color: #4DBD7E;
    color: #FFFFFF;
    border-radius: 70px;
    width: 170px;
    margin-top: 99px;
    font-weight: 800;
    font-size: 20px;
    border: none;
    padding: 15px 10px 15px 10px;
}
/*.banner{*/
/*    display:flex; */
/*}*/




.a4mb-card {
  width: 100%;
  max-width: 900px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  padding: 0px 10px 32px 25px;
}

.a4mb-header h1 {
  margin: 0;
  font-size: 42px;
}

.a4mb-header p {
  color: var(--muted);
}

.a4mb-progress {
  margin: 30px 0;
}

.a4mb-progress ul {
  display: flex;
  justify-content: space-between;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.a4mb-progress li.active {
  color: var(--primary);
  font-weight: 600;
}

.a4mb-step {
  display: none;
  animation: fadeUp 0.4s ease;
}

.a4mb-step h2 {
  margin-bottom: 20px;
}

.a4mb-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.a4mb-input {
  padding: 14px 16px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 15px !important;
}

.a4mb-time-grid {
  display: flex;
  gap: 10px;
}

.a4mb-time-slot {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: grey;
  cursor: pointer;
}

.a4mb-time-slot.selected {
  background: var(--primary);
  color: white;
}

.a4mb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.a4mb-card-option {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all .2s ease;
}

.a4mb-card-option:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.a4mb-card-option input {
  display: none;
}

.a4mb-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.a4mb-btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.a4mb-btn-primary:hover {
  background: var(--primary-dark);
}

.a4mb-btn-secondary {
  background: transparent;
  border: none;
  color: var(--muted);
}

.a4mb-subtitle {
  color: var(--muted);
  margin-bottom: 18px;
}

.a4mb-card-option {
  position: relative;
}

.a4mb-card-option h3 {
  margin: 0 0 6px;
}

.a4mb-cards h3 {
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.a4mb-card-option p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.a4mb-card-option input:checked + h3,
.a4mb-card-option input:checked ~ p {
  color: var(--primary);
}

.a4mb-card-option input:checked ~ .a4mb-badge {
  background: var(--primary);
  color: white;
}

.a4mb-card-option:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.a4mb-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary);
}

.a4mb-names {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.a4mb-person-field label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}

.a4mb-progress-list li {
  color: #94a3b8;
}

.a4mb-progress-list li.active {
  color: var(--primary);
  font-weight: 600;
}

.a4mb-progress-list li.completed {
  color: var(--primary);
  opacity: 0.7;
}

/*--  Two tabs css start  ---*/
/* Tabs */
.a4mb-plan-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding:10px;
  
}

.a4mb-plan-tab {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
button.a4mb-plan-tab{
    color:#000;
}

.a4mb-plan-tab:hover {
  background: #f1f5f9;
}

.a4mb-plan-tab.active {
  /*background: #2563eb;*/
  background: #06B2A8;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.a4mb-plan-tab .a4mb-badge {
  background: #facc15;
  color: #000;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

/* Content expand/collapse */
.a4mb-plan-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.4s ease;
}
.a4mb-plan-content.premium{
    display:flex;
    justify-content:center;
}
.a4mb-plan-content.active {
  max-height: 5000px; /* large enough */
  opacity: 1;
  transform: translateY(0);
}

/* Premium box styling */
.a4mb-premium-box {
  /*background: linear-gradient(135deg, #111827, #1f2937);*/
  /*color: #fff;*/
  padding: 10px 10px 10px 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  /*margin-top: 10px;*/
}
.a4mb-premium-box p{
    color:#000;
    margin:5px;
}

.a4mb-premium-box h2 {
  margin-top: 0;
}

.a4mb-premium-box ul {
  padding-left: 0;
  list-style: none;
}

.a4mb-premium-box li {
  margin-bottom: 8px;
}


/* Base calendar tweaks */
.flatpickr-calendar {
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  font-family: inherit;
}

/* Saturday highlight */
.flatpickr-day.a4mb-saturday {
  background: #e0f2fe;
  border: 1px solid #38bdf8;
  color: #0369a1;
  font-weight: 600;
  border-radius: 8px;
}

/* Hover effect */
.flatpickr-day.a4mb-saturday:hover {
  background: #38bdf8;
  color: #fff;
}

/* Selected Saturday */
.flatpickr-day.selected.a4mb-saturday {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: transparent;
}



/* Disabled days */
.flatpickr-day.disabled {
  opacity: 0.3;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
/* arrow css start  */
.a4mb-progress-list {
  display: flex;
  padding: 0;
  margin: 30px 0;
  list-style: none;
  overflow: hidden;
  border-radius: 10px;
}

.a4mb-progress-list li {
  position: relative;
  flex: 1;
  padding: 14px 20px 14px 30px;
  background: #e5e7eb; /* inactive */
  color: #6b7280;
  font-weight: 600;
  text-align: center;
  cursor: default;
  transition: all 0.3s ease;
}

/* Arrow shape */
.a4mb-progress-list li::after {
  content: '';
  position: absolute;
  top: 0;
  right: -24px;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 24px solid #e5e7eb;
  z-index: 2;
}

.a4mb-progress-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 24px solid white;
  z-index: 1;
}

/* First item fix */
.a4mb-progress-list li:first-child::before {
  display: none;
}

/* Last arrow fix */
.a4mb-progress-list li:last-child::after {
  display: none;
}

/* ACTIVE & COMPLETED */
.a4mb-progress-list li.active,
.a4mb-progress-list li.completed {
  /*background: linear-gradient(135deg, #2563eb, #1e40af);*/
  background: linear-gradient(135deg, #06B2A8, #00A8A0);
  color: #fff;
}

.a4mb-progress-list li.active::after,
.a4mb-progress-list li.completed::after {
  border-left-color: #06B2A8;
}

/* Subtle glow for active */
.a4mb-progress-list li.active {
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.3);
}

/* arrow css end  */

/*--  Two tabs css end ---*/


.a4mb-steps input[type="date"],.a4mb-steps input[type="number"], .a4mb-steps input[type="email"], .a4mb-steps input[type="number"], .a4mb-steps input[type="password"], .a4mb-steps input[type="search"], .a4mb-steps input[type="tel"], .a4mb-steps input[type="text"], .a4mb-steps input[type="url"], .a4mb-steps select, .a4mb-steps textarea, .woocommerce .quantity input.qty {
    color: black !important;
    background-color: white !important;
    border-color: none;
}

.a4mb-steps input[type="date"]:focus, .a4mb-steps input[type="email"]:focus, .a4mb-steps input[type="number"]:focus, .a4mb-steps input[type="password"]:focus, .a4mb-steps input[type="search"]:focus, .a4mb-steps input[type="tel"]:focus, .a4mb-steps input[type="text"]:focus, .a4mb-steps input[type="url"]:focus, .a4mb-steps select:focus, .a4mb-steps textarea:focus {
    color: black !important;
    background-color: white !important;
    border-color: none;
}
.flatpickr-time input[type="number"]{
    background-color:white !important;
}
.flatpickr-time input[type="number"]:focus{
    background-color:white !important;
}

/*--- holiday booking flatpickr css start --- */
    .flatpickr-day.a4mb-holiday-day {
      background: repeating-linear-gradient(
        45deg,
        #f1f5f9,
        #f1f5f9 6px,
        #e2e8f0 6px,
        #e2e8f0 12px
      );
      color: #64748b;
      border-radius: 6px;
    }
    
    .flatpickr-day.a4mb-holiday-day:hover {
      background: #fff7ed;
      color: #ea580c;
      cursor: pointer;
}

/*--- holiday booking flatpickr css end --- */

/** booking-button css start --**/

.booking-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.booking-btn.loading .btn-spinner {
    display: inline-block;
}

.booking-btn.loading .btn-text {
    opacity: 0.8;
}

.bookedMessage{
    display:none;
}
.bookedMessage.active{
    display:block !important;
}

.branch-image{
    display:flex;
    justify-content:center;
    margin-bottom:10px;
}

.a4mb-cards.a4mb-branches h3,.a4mb-cards.a4mb-branches p{
    text-align:center !important;
}

.iti__tel-input{
    padding: 13px 2px 14px 78px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 15px !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/** booking-button css end **/

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* 📱 MOBILE RESPONSIVE FIXES   */
/* ============================= */

@media (max-width: 992px) {

  /* Container width fix */
  .a4mb-booking-banner .inner {
    width: 100%;
    padding: 0 16px;
  }

  .a4mb-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .a4mb-container {
    padding: 20px 15px;
  }
}

/* ============================= */
/* 📱 TABLET & BELOW            */
/* ============================= */

@media (max-width: 768px) {

  /* Banner stack */
  .a4mb-booking-banner .a4mb-booking-content {
    flex-direction: column;
    text-align: center;
  }

  .a4mb-booking-banner .a4mb-booking-content .content {
    width: 100%;
  }

  .a4mb-booking-banner .a4mb-booking-content .content.left h5 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .a4mb-booking-banner .a4mb-booking-content .content.left h3 {
    font-size: 36px;
  }

  .a4mb-booking-banner .a4mb-booking-content .content.left .book-now {
    margin-top: 30px;
    width: 100%;
  }

  .a4mb-booking-banner img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
  }

  /* Header resize */
  .a4mb-header h1 {
    font-size: 26px;
  }

  .a4mb-header p {
    font-size: 14px;
  }

  /* Progress arrows -> stacked */
  .a4mb-progress-list {
    flex-direction: column;
  }

  .a4mb-progress-list li {
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 12px;
  }

  .a4mb-progress-list li::after,
  .a4mb-progress-list li::before {
    display: none;
  }

  /* Grid becomes single column */
  .a4mb-grid {
    grid-template-columns: 1fr;
  }

  .a4mb-cards {
    grid-template-columns: 1fr;
  }

  /* Time slots wrap properly */
  .a4mb-time-grid {
    flex-wrap: wrap;
  }

  /* Footer buttons stack */
  .a4mb-footer {
    flex-direction: column;
    gap: 12px;
  }

  .a4mb-footer button {
    width: 100%;
  }

  /* Plan tabs stack */
  .a4mb-plan-tabs {
    flex-direction: column;
  }

  .a4mb-plan-tab {
    width: 100%;
  }

  /* Premium box padding */
  .a4mb-premium-box {
    padding: 20px;
  }

}

/* ============================= */
/* 📱 SMALL MOBILE (≤480px)     */
/* ============================= */

@media (max-width: 480px) {

  .a4mb-header h1 {
    font-size: 22px;
  }

  .a4mb-booking-banner .a4mb-booking-content .content.left h5 {
    font-size: 22px;
  }

  .a4mb-booking-banner .a4mb-booking-content .content.left h3 {
    font-size: 28px;
  }

  .a4mb-card {
    padding: 16px;
  }

  .a4mb-btn-primary,
  .a4mb-btn-secondary {
    font-size: 14px;
    padding: 12px 18px;
  }

  .a4mb-progress-list li {
    font-size: 13px;
  }

  .a4mb-cards h3 {
    font-size: 14px;
  }

  .a4mb-input {
    font-size: 14px !important;
  }
}

#continue-with-premium,#a4mb-confirm{
    background-color: #f16722;
}

/* Floating wrapper */

.a4mb-premium-badge-wrapper {
    position: fixed;
    right: 190px;
    bottom: 344px;
    z-index: 9999;
}

/* Badge */
.a4mb-premium-badge{
    position: relative;
    background: linear-gradient(135deg,#ffb300,#ff6f00);
    color:#fff;
    padding:16px 22px;
    font-weight:700;
    font-size:14px;
    cursor:pointer;

    /* Jagged shape */
    clip-path: polygon(
        0% 15%, 10% 0%, 20% 15%, 30% 0%, 40% 15%, 
        50% 0%, 60% 15%, 70% 0%, 80% 15%, 90% 0%, 
        100% 15%, 100% 85%, 90% 100%, 80% 85%, 
        70% 100%, 60% 85%, 50% 100%, 40% 85%, 
        30% 100%, 20% 85%, 10% 100%, 0% 85%
    );

    animation: a4mbBadgeFloat 3s ease-in-out infinite;
}

/* Floating motion */
@keyframes a4mbBadgeFloat{
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

/* Close icon */
.a4mb-badge-close {
    position: absolute;
    top: 3px;
    right: 1px;
    background: #fff;
    color: #333;
    width: 20px;
    height: 20px;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: 0.2s;
}

/* show close on hover */
.a4mb-premium-badge:hover .a4mb-badge-close{
    opacity:1;
}

/* Premium Card */
.a4mb-premium-card{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:10000;
}

.a4mb-card-inner{
    background:#fff;
    padding:30px;
    border-radius:10px;
    width:320px;
    text-align:center;
}

.a4mb-card-close{
    position:absolute;
    right:20px;
    top:15px;
    font-size:22px;
    cursor:pointer;
}

.a4mb-premium-btn{
    margin-top:20px;
    padding:10px 18px;
    background:#ff7a00;
    border:none;
    color:#fff;
    cursor:pointer;
}

