/* ARmedia Booking Widget – Calendly-inspired design */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

#armedia-booking-widget {
  --arm-primary: #0069ff;
  --arm-accent:  #00d4aa;
  --arm-bg:      #ffffff;
  --arm-border:  #e4e9f4;
  --arm-text:    #1a2340;
  --arm-muted:   #6b7a99;
  --arm-light:   #f5f8ff;
  --arm-radius:  16px;
  --arm-shadow:  0 8px 40px rgba(0,0,0,.12);

  font-family: 'DM Sans', sans-serif;
  display: flex;
  border-radius: var(--arm-radius);
  overflow: hidden;
  box-shadow: var(--arm-shadow);
  background: var(--arm-bg);
  max-width: 900px;
  margin: 40px auto;
  min-height: 580px;
  border: 1px solid var(--arm-border);
}

/* ===== LEFT PANEL ===== */
.arm-info-panel {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0f1628 0%, #1a2a5e 100%);
  color: #fff;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.arm-info-panel::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,.15) 0%, transparent 70%);
  pointer-events: none;
}
.arm-info-panel::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,105,255,.2) 0%, transparent 70%);
  pointer-events: none;
}

.arm-brand {
  font-size: 22px; font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, #fff 0%, var(--arm-accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.arm-brand span { font-weight: 300; }

.arm-title {
  font-size: 20px; font-weight: 700; line-height: 1.3;
  color: #fff; margin: 0 0 12px; letter-spacing: -.3px;
}
.arm-subtitle {
  font-size: 14px; color: rgba(255,255,255,.65); margin: 0 0 32px; line-height: 1.5;
}

.arm-features { list-style: none; padding: 0; margin: 0; }
.arm-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,.8);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.arm-features li:last-child { border-bottom: none; }
.arm-icon { font-size: 18px; flex-shrink: 0; }

.arm-selected-info {
  margin-top: auto; padding-top: 24px;
}
.arm-selected-inner {
  background: rgba(255,255,255,.1); border-radius: 12px;
  padding: 18px 20px; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
}
.arm-selected-inner strong {
  display: block; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px;
}
.arm-selected-inner span { font-size: 14px; color: var(--arm-accent); font-weight: 600; }

/* ===== RIGHT PANEL ===== */
.arm-main-panel {
  flex: 1; padding: 40px 44px; overflow-y: auto;
  background: #fff; position: relative;
}

.arm-step { width: 100%; }
.arm-step-hidden { display: none; }

.arm-step-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.arm-step-header h3 {
  margin: 0; font-size: 18px; font-weight: 700; color: var(--arm-text);
}
.arm-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--arm-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.arm-back-btn {
  background: none; border: none; cursor: pointer;
  color: var(--arm-primary); font-size: 14px; font-weight: 600;
  padding: 0; font-family: 'DM Sans', sans-serif;
  margin-right: auto; transition: opacity .2s;
}
.arm-back-btn:hover { opacity: .7; }

/* ===== CALENDAR ===== */
.arm-calendar-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
#arm-month-label {
  font-size: 16px; font-weight: 700; color: var(--arm-text);
}
.arm-nav-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--arm-border);
  background: #fff; cursor: pointer; font-size: 18px; color: var(--arm-text);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; line-height: 1;
}
.arm-nav-btn:hover { background: var(--arm-primary); color: #fff; border-color: var(--arm-primary); }

.arm-calendar-days-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 6px;
}
.arm-calendar-days-header span {
  text-align: center; font-size: 12px; font-weight: 600;
  color: var(--arm-muted); text-transform: uppercase; letter-spacing: .5px;
  padding: 6px 0;
}

.arm-calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.arm-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .18s; border: 2px solid transparent;
  color: var(--arm-text);
}
.arm-day:hover:not(.arm-day-disabled):not(.arm-day-empty) {
  background: var(--arm-light); border-color: var(--arm-primary); color: var(--arm-primary);
}
.arm-day-available { background: var(--arm-light); color: var(--arm-primary); font-weight: 600; }
.arm-day-selected  { background: var(--arm-primary) !important; color: #fff !important; border-color: var(--arm-primary) !important; }
.arm-day-today     { font-weight: 800; }
.arm-day-disabled  { color: #ccd5e8; cursor: default; }
.arm-day-empty     { cursor: default; }
.arm-day-past      { color: #ccd5e8; cursor: default; }

.arm-loading {
  text-align: center; padding: 32px; color: var(--arm-muted); font-size: 14px;
}

/* ===== TIME SLOTS ===== */
.arm-slots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.arm-slot {
  padding: 13px 10px; border-radius: 10px; border: 2px solid var(--arm-border);
  text-align: center; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .18s; color: var(--arm-text); background: #fff;
}
.arm-slot:hover { border-color: var(--arm-primary); color: var(--arm-primary); background: var(--arm-light); }
.arm-slot-selected { background: var(--arm-primary) !important; color: #fff !important; border-color: var(--arm-primary) !important; }

/* ===== FORM ===== */
.arm-form { display: flex; flex-direction: column; gap: 16px; }
.arm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.arm-field { display: flex; flex-direction: column; gap: 7px; }
.arm-field label { font-size: 13px; font-weight: 600; color: #3a4a6e; }
.arm-req { color: var(--arm-primary); }

.arm-input {
  padding: 11px 15px; border-radius: 10px; border: 2px solid var(--arm-border);
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--arm-text);
  transition: all .2s; outline: none; width: 100%; box-sizing: border-box;
  background: #fff;
}
.arm-input:focus { border-color: var(--arm-primary); box-shadow: 0 0 0 4px rgba(0,105,255,.1); }
.arm-textarea { min-height: 90px; resize: vertical; }

.arm-error {
  background: #fff1f1; border: 1.5px solid #f5c0c0; border-radius: 10px;
  padding: 12px 16px; color: #c62828; font-size: 14px; font-weight: 500;
}

.arm-btn-submit {
  width: 100%; padding: 15px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--arm-primary), #0044bb);
  color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all .2s; letter-spacing: .2px;
  box-shadow: 0 4px 20px rgba(0,105,255,.35);
}
.arm-btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,105,255,.45); }
.arm-btn-submit:active { transform: translateY(0); }
.arm-btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== SUCCESS ===== */
.arm-success { text-align: center; padding: 32px 0; }
.arm-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--arm-accent), #00a882);
  color: #fff; font-size: 32px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 6px 24px rgba(0,212,170,.4);
  animation: arm-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes arm-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.arm-success h3 { font-size: 22px; font-weight: 800; color: var(--arm-text); margin: 0 0 12px; }
.arm-success p  { color: var(--arm-muted); font-size: 15px; margin: 0 0 24px; }

.arm-confirm-details {
  background: var(--arm-light); border-radius: 12px;
  padding: 20px 24px; margin: 0 auto 28px; max-width: 340px;
  font-size: 15px; color: var(--arm-text); line-height: 1.7;
}

.arm-btn-new {
  background: none; border: 2px solid var(--arm-primary);
  color: var(--arm-primary); font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 700; padding: 12px 28px;
  border-radius: 10px; cursor: pointer; transition: all .2s;
}
.arm-btn-new:hover { background: var(--arm-primary); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  #armedia-booking-widget { flex-direction: column; margin: 16px; }
  .arm-info-panel { width: auto; padding: 32px 24px; }
  .arm-main-panel { padding: 28px 20px; }
  .arm-form-row   { grid-template-columns: 1fr; }
  .arm-slots-grid { grid-template-columns: repeat(2, 1fr); }
}
