/* assets/css/booking-header2.css */
/* Header #2 – stil nou, inspirat din bara de formular Elementor (chalet) */

.db2-rental-header {
  /* culori inspirate din Elementor kit (chalet) */
  --fg: #ffffff;
  --bg: var(--e-global-color-accent, #3E2714);
  --line: rgba(255, 255, 255, 0.18);
  --accent: #D2AB67;       /* gold cald */
  --accentBright: #F3E1AF; /* gold mai deschis */

  color: var(--fg);
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 22px 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  position: relative;
}

/* scoatem bara aurie de sus din varianta veche */
.db2-rental-header::before {
  content: none;
}

/* TOP: date (în stil de câmpuri Elementor) */
.db2-top{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: flex-end;
}

.db2-field label{
  display:block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 6px;
}

/* input tip Elementor: alb, rotunjit, shadow discret */
.db2-field input[type="date"]{
  width: 100%;
  height: 50px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  padding: 0 14px;
  color:#3E2714;
  font-size: 14px;
  outline: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  -webkit-appearance: none;
}
.db2-field input[type="date"]::-webkit-calendar-picker-indicator{
  opacity:.8;
}

/* SUMAR: nopți / preț / discount / total – ca niște chipsuri discrete pe fundal închis */
.db2-summary{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.db2-chip{
  background: rgba(0,0,0,0.25);
  border:1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 6px 12px;
  display:flex;
  align-items:center;
  gap: 8px;
}

.db2-chip span{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.75);
}

.db2-chip strong{
  font-weight: 700;
  color:#ffffff;
}

/* Total – chip mai evidențiat, gold */
.db2-chip-bright{
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.db2-chip-bright span{
  color:#3E2714;
}
.db2-chip-bright strong{
  color:#3E2714;
}

/* FORMULAR STEP 2 (PF / PJ) – card semitransparent */
.db2-form{
  margin-top: 20px;
  padding: 18px 18px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.db2-form h3{
  margin: 0 0 12px;
  font-size: 18px;
  color: #ffffff;
}

/* Tabs PF/PJ – butoane capsulate */
.db2-tabs{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.db2-tab{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  cursor:pointer;
  user-select: none;
  font-weight: 600;
  font-size: 13px;
  color:#ffffff;
}

.db2-tab input{
  accent-color: var(--accent);
}

/* Grid fields */
.db2-form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.db2-col-span-2{
  grid-column: span 2;
}

.db2-form-field label{
  display:block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.db2-form-field input{
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border:1px solid rgba(0,0,0,0.25);
  padding: 0 14px;
  background:#ffffff;
  color:#3E2714;
  font-size: 14px;
  outline:none;
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

/* BARĂ TOTAL + CTA – aliniată ca în form Elementor (câmp + buton) */
.db2-totalbar{
  margin-top: 20px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.db2-total-left{
  flex: 1 1 auto;
  min-width: 180px;
  background: rgba(0,0,0,0.28);
  border-radius: 999px;
  padding: 10px 18px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  border:1px solid rgba(255,255,255,0.18);
}

.db2-total-left span{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.db2-total-left strong{
  font-size: 20px;
  font-weight: 700;
  color:#ffffff;
}

/* Butoane – stil Elementor-ish (gold rotunjit) */
.db2-next,
.db2-pay{
  flex: 0 0 210px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0 20px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color:#3E2714;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border:none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
}

.db2-next:hover,
.db2-pay:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 32px rgba(0,0,0,0.5);
}

.db2-next:active,
.db2-pay:active{
  transform: translateY(1px);
}

/* al doilea buton (Finalizați plata) – ușor mai intens */
.db2-pay{
  background: linear-gradient(135deg, var(--accentBright), var(--accent));
}

/* Utilities */
.is-hidden{
  display:none !important;
}

/* Mesaj de eroare */
.db2-error{
  margin-top:10px;
  color:#ffd4d4;
  font-size: 13px;
  min-height:1em;
}

/* Responsive */
@media (max-width: 900px){
  .db2-rental-header{
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  .db2-top{
    grid-template-columns: 1fr;
  }

  .db2-form-grid{
    grid-template-columns: 1fr;
  }

  .db2-totalbar{
    flex-direction: column;
    align-items: stretch;
  }

  .db2-next,
  .db2-pay{
    flex: 0 0 auto;
    width: 100%;
  }

  .db2-total-left{
    border-radius: 12px;
  }
}



/* ...existing code... */
/* Termeni & Condiții checkbox */
.db2-terms {
  margin-top: 12px;
}
.db2-terms-label{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  color: rgba(255,255,255,0.94);
  line-height:1.2;
}
.db2-terms-label input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color: var(--accent);
  flex: 0 0 auto;
  margin:0;
}

/* disabled pay style */
.db2-pay.is-disabled{
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(.08);
  box-shadow: none;
}
/* ...existing code... */