/* Booking Header – dark bar, landing version (no card/box) */

/* —— Paletă —— */
.db-rental-header {
  --bg: var(--e-global-color-accent, #1E3A34);
  --fg: #ffffff;
  --accent: #D2AB67;       /* gold cald */
  --accentBright: #F3E1AF; /* gold mai deschis */
  --muted: rgba(255, 255, 255, 0.75);
  --line: rgba(255, 255, 255, 0.22);

  background: transparent;
  color: var(--fg);
  padding: 30px 22px 0;

  /* remove box look */
  border-radius: 0;
  border: 0;
  box-shadow: none;

  width: 100%;
  max-width:890px;
  margin: 0 auto;

    
}

.input-wrapper{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}
/* (safety) if any old summary markup still exists, hide it on landing */
.db-rental-header--landing .db-rental-summary {
  display: none !important;
}

/* —— Break out of WP constrained container —— */
.is-layout-constrained > .db-rental-header,
.entry-content > .db-rental-header,
.wp-block-group .db-rental-header {
  max-width: none !important;
  width: 80vw !important;
  margin-left: calc(50% - 40vw) !important;
  margin-right: calc(50% - 40vw) !important;
}

/* —— Form (date) – 40 / 40 / 20 —— */
.db-rental-form {
  display: flex;
  flex-direction: column;
    gap: 10px;
  width: 100%;
/*  grid-template-columns: 40% 40% 20%;
  /*  column-gap: 18px;*/
  /*  row-gap: 10px;*/
  /* align-items: flex-end;*/
}

.db-rental-col label {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 10px;
}

/* inputuri tip “pill”, albe, cu shadow */
/* (important) your inputs are type="text", so we style text + date */
.db-rental-col input[type="text"],
.db-rental-col input[type="date"] {
  width: 100%;
padding: 14px 30px 12px;
  border-radius: 5px;
  border: 1px solid #ffffff;
  background: none;
  color: #ffffff;
  outline: none;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.db-rental-col input::placeholder{
    color: #ffffff;
    font-size: 14px;
  text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* CTA column */
.db-rental-col--cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}



/* —— CTA /book – buton gold tip Elementor —— */
.db-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  width: 100%;           /* fills the 20% column */
  border-radius: 5px;
  border: none;
padding: 14px 30px 12px;
  background:#CBBBA0;
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*.db-book-btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
}*/

.db-book-btn:active {
  transform: translateY(1px);
}

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

/* —— Mobile —— */
@media (max-width: 900px) {
  .db-rental-header {
    width: 95vw !important;
    margin-left: calc(50% - 47.5vw) !important;
    margin-right: calc(50% - 47.5vw) !important;
    padding: 16px 14px;
  }

  /* stack on mobile */
  .db-rental-form {
  display: flex;
  flex-direction: column;
    gap: 10px;
  width: 100%;
  }

  .db-book-btn {
    width: 100%;
padding: 14px 30px 12px;  }
}

/* —— Desktop —— */
 @media only screen and (min-width: 767px) {
       .db-rental-form {
      display: flex;
      flex-direction: row;
        gap: 15px;
      width: 100%;
          justify-content: center;
  }

  .input-wrapper{
    display: flex;
    width: max-content;
    justify-content: center;
    gap: 15px;
}
  .db-rental-col input[type="text"],
.db-rental-col input[type="date"] {
padding: 14px 60px 12px;    
}
    .db-book-btn {
    width: 100%;
    padding: 14px 60px 12px;
    justify-content: start;
  }
  
 }
 
 
 
 /* Flatpickr: Month + Year bold */
.flatpickr-current-month .cur-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-current-month .numInput.cur-year{
  font-weight: 600 !important;
}
