/* ======================================================
   AR PHOTO STUDIO – BOOKING FLOW (4 PAGE) – CSS
   ====================================================== */

.ar-container{
  max-width:980px;
  margin:26px auto;
  padding:0 14px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}
.ar-title{
  text-align:center;
  margin:0 0 10px;
  font-size:40px;
  letter-spacing:-0.02em;
  color:#0f2a3d;
  line-height:1.1;
}
.ar-subtitle{
  text-align:center;
  margin:0 0 22px;
  color:#516271;
  font-size:15px;
  line-height:1.5;
}
.ar-layout{
  display:grid;
  grid-template-columns:1.35fr .9fr;
  gap:18px;
  align-items:start
}
@media(max-width:980px){
  .ar-layout{grid-template-columns:1fr;gap:14px}
}

.ar-card{
  background:#fff;
  border:1px solid #e7edf3;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(15,42,61,.08);
  padding:18px
}
.ar-card h2{margin:0 0 14px;color:#0f2a3d;font-size:18px}

label{display:block;margin:10px 0 6px;font-weight:800;color:#516271;font-size:13px}
input{
  width:100%;
  padding:12px 14px;
  border:1px solid #dbe6ee;
  border-radius:12px;
  font-size:15px;
  outline:none;
  -webkit-appearance:none;
}
input:focus{
  border-color:#9bc9d6;
  box-shadow:0 0 0 3px rgba(15,111,134,.10);
}

.ar-actions{margin-top:16px;display:flex;justify-content:flex-end;gap:10px}
.ar-actions.split{justify-content:space-between}

.ar-btn{
  border:1px solid #dbe6ee !important;
  background:#ffffff !important;
  color:#0f2a3d !important;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:110px;
  min-height:46px;
}
.ar-btn:active{transform:translateY(1px)}
.ar-btn.primary{
  background:#0f6f86 !important;
  border-color:#0f6f86 !important;
  color:#ffffff !important;
}

.ar-error{
  background:#fff3f3;
  border:1px solid #ffd0d0;
  color:#8b1f1f;
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
  margin-bottom:12px
}

.ar-steps{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:18px
}
.step{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid #e7edf3;
  border-radius:999px;
  background:#fff;
  color:#7a8b9b;
  font-weight:900;
  font-size:13px
}
.step span{font-weight:900;color:#0f2a3d}
.step.active{border-color:#0f6f86;color:#0f2a3d;box-shadow:0 0 0 3px rgba(15,111,134,.08)}
@media(max-width:520px){
  .step{padding:10px 12px;gap:8px;font-size:12px}
  .step span{display:none}
}

.svc-group-title{
  margin-top:18px;
  font-size:12px;
  font-weight:900;
  color:#0f6f86;
  letter-spacing:.12em
}

.svc{
  width:100%;
  text-align:left;
  border:1px solid #e7edf3 !important;
  border-radius:14px;
  background:#f3f6fa !important;
  padding:14px;
  margin:10px 0;
  cursor:pointer;
  color:#0f2a3d !important;
  min-height:64px;
}
.svc:hover{
  background:#eef3f8 !important;
  border-color:#d9e6f2 !important;
}
.svc.selected{
  border-color:#0f6f86 !important;
  box-shadow:0 0 0 3px rgba(15,111,134,.12) !important;
  background:#ffffff !important;
}
.svc-title{font-weight:900;margin-bottom:8px;line-height:1.25;font-size:15px}
.svc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.svc-price{font-weight:900;color:#0f6f86 !important;font-size:16px}
.svc-duration{
  font-weight:900;
  font-size:12px;
  color:#516271 !important;
  border:1px solid #e7edf3 !important;
  border-radius:999px;
  padding:6px 10px;
  background:#ffffff !important;
  white-space:nowrap;
}
@media(max-width:520px){
  .svc-meta{flex-direction:column;align-items:flex-start;gap:8px}
  .svc-duration{width:fit-content}
}

.ar-row{display:grid;grid-template-columns:1fr .9fr;gap:12px}
@media(max-width:600px){.ar-row{grid-template-columns:1fr}}

.badge{
  display:inline-block;
  padding:10px 12px;
  border-radius:999px;
  background:#eef6f9;
  border:1px solid #cfe7ef;
  color:#1f5e74;
  font-weight:900
}

.timeGrid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
  min-height:44px
}
.timeGrid button{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #e7edf3;
  background:#fff !important;
  font-weight:900;
  cursor:pointer;
  color:#0f2a3d !important;
  min-width:86px;
  min-height:46px;
}
.timeGrid button.selected{
  border-color:#0f6f86;
  box-shadow:0 0 0 3px rgba(15,111,134,.12)
}
.timeGrid button:disabled{opacity:.35 !important;cursor:not-allowed}
@media(max-width:520px){
  .timeGrid button{flex:1 1 calc(50% - 10px);min-width:0}
}

.sumRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid #e7edf3;
  border-radius:14px;
  padding:12px;
  margin:10px 0
}
.sumRow span{color:#6a7b8a;font-weight:800}
.sumBox{
  border:1px solid #cfe7ef;
  background:#eef6f9;
  border-radius:14px;
  padding:10px;
  margin:10px 0
}
@media(min-width:981px){
  .ar-summary{position:sticky;top:18px}
}
@media(max-width:520px){
  .ar-title{font-size:28px}
  .ar-subtitle{font-size:14px;margin-bottom:16px}
  .ar-card{padding:14px;border-radius:14px}
  .ar-actions{flex-direction:column}
  .ar-actions.split{flex-direction:column}
  .ar-btn{width:100%;min-width:0}
}

/* Flatpickr availability colours */
.flatpickr-day.ar-available{
  background:#c9f2d6 !important;
  border-color:#86d49c !important;
  color:#0f2a3d !important;
}
.flatpickr-day.ar-full{
  background:#e6e9ee !important;
  border-color:#cfd6df !important;
  color:#6a7b8a !important;
  opacity:1 !important;
}
