.db2-rental-header{
  background-color: transparent ;
  /*background-color:#CBBBA0 ;*/
  border-radius: 40px;
  width: 100%;
  max-width: 980px;
  padding: 30px;
  overflow: hidden;
  position: relative;
}
.wrapper-top{
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.db2-top{
  width: 100%;
  display: flex; 
  flex-direction: column; 
  gap: 16px;
}

.db2-field{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db2-top label{
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  color:  #506F6A;
  margin: 0;
  padding: 0;
}

.db2-top input[type="date"], .db2-top input[type="text"]{
  background: transparent;
  border:1px solid  #506F6A;
  border-radius: 5px;
  padding: 14px 16px 12px;
  color: #506F6A;
  font-size: 14px;
  outline: none;
  font-weight: 600;
  width: max-content;
}

.db2-top input[type="date"]::-webkit-calendar-picker-indicator{
  opacity:.8;
}

.db2-top input::placeholder{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color:#506F6A;
}

.db2-summary{
  height: min-content;
  display:flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border:0.75px solid #D2AB67;
  border-radius: 5px;
  padding: 14px 16px 12px;
}

.db2-summary span{
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #D2AB67;
}

.db2-summary strong{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-weight: 400;
  color:#D2AB67;
  padding-left: 5px;
}

.db2-form{
  margin-top: 30px;
  padding: 30px 16px;
  border: 1px solid #CBBBA0;
  border-radius: 5px;
  background: rgba(203, 187, 160,0.25);
  overflow: hidden;
}

.db2-form  .form-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-weight: 500;
  color:#506F6A;
}

.db2-form h3{
  font-size: 26px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
  padding: 5px 0 30px;
  letter-spacing: 0.5px;
  color: #D2AB67;
}

.db2-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.db2-tab{
  display:flex;
  align-items:start;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #506F6A;
  border-radius: 5px;
  cursor:pointer;
  user-select: none;
  font-weight: 400;
  font-size: 14px; 
  letter-spacing: 0.5px;
  text-transform: none;
  color:#506F6A;
  outline: none;
}

.db2-tab input{
  accent-color: #506F6A;
  outline: none;
  color: #506F6A;
}

/*FORM FIELDS*/
.db2-form-grid{
  display:grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  column-gap: 16px;
  row-gap: 30px;
  overflow: hidden;
}
.db2-form-grid label{
    display: none;
}
.db2-form-field input{
  width: 100%;
  border:none;
  border-radius: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #506F6A;
  background:transparent;
  color:#506F6A;
  font-weight: 700;
  font-size: 14px; 
  letter-spacing: 0.5px;
  outline:none;
}
.db2-form-field input::placeholder{
  color:#506F6A;
  font-weight: 500;
  font-size: 14px; 
  letter-spacing: 0.5px;
}
.db2-form-field input:active, .db2-form-field input:focus{
     border-bottom: 1px solid #506F6A;
     outline:none;
}
.db2-terms{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px !important;
  margin-top: 30px;
}
.db2-terms-label, .db2-terms a{
  font-size: 14px;
  color: #D2AB67;
  letter-spacing: 0.5px;
}
.db2-terms a:hover{
  color: #506F6A;
  outline: none;
}
.db2-form-field input[type="checkbox"]{
  width: 16px;
  height:16px;
  accent-color: #D2AB67;
  flex: 0 0 auto;
  margin:0;
  outline: none;
}

.db2-options{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px !important;
}
.db2-options-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}
.db2-option{
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #506F6A;
    margin: 0;
    padding: 0;
    align-self: center;
}
.db2-options input[type="checkbox"]{
      width: 16px;
  height:16px;
  accent-color: #506F6A;
  flex: 0 0 auto;
  margin:0;
  outline: none;
  border: #506F6A;
}



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

/*TOTAL & BTN*/
.db2-totalbar{
  margin-top: 30px;
  display:flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.db2-total-left{
  background: transparent;
  border-radius: 5px;
  padding: 14px 16px 12px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  border:1px solid #1E3A34;
}
.db2-total-left span{
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1E3A34;
}

.db2-total-left strong{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color:#1E3A34;
}
.db2-next,
#db-pay-btn{
    font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 16px 12px;
  border-radius: 5px;
  background: #1E3A34;
  text-decoration: none;
  border: 1px solid #1E3A34;
  cursor: pointer;
}

.db2-next:hover,
.db2-pay:hover{
  background-color: rgba(30, 58, 52,0.25);
  border: 1px solid #1E3A34;
  color: #1E3A34;
}

.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));
}


/* Opțiuni (ex: mic dejun) */


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

/* Mesaj de eroare */
.db2-error{
  margin-top:30px;
  color:#506F6A;
  font-size: 14px;
  letter-spacing: 0.5px;
  min-height:1em;
}


@media only screen and (min-width:767px){
.db2-rental-header{
    padding: 30px 60px;
    margin: 0 auto;
}
.wrapper-top{
    width: 100%;
    gap: 30px;
  }
    .db2-top{
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  .db2-field{
    display: flex;
    justify-content: start;
    gap: 16px;
  }
  .db2-summary{
    /*width: 297.5px !important;
max-width: 50%;*/
    flex-direction: row;
    gap: 16px;
    justify-content: space-around;
  }
  /*FORM FIELDS*/
  .db2-form-grid{
  grid-template-columns: repeat(2, auto);
  }
  .db2-form-field input{
    padding: 16px 30px 16px;
    width: 90%;
  }
  .db2-totalbar{
    margin-top: 40px;
    flex-direction: row;
    justify-content: start;
    gap: 16px;
    width: 100%;
  }
  .db2-total-left, .db2-total-right{
    width: 50%;
  }
}