:root {
  --color-primary: #f68909;
  --bg-section: #ffffff;
  --bg-input: #ffffff;
  --text-white: #ffffff;
  --text-label: #262626;
  --text-radio-active: #ffffff;
  --text-title: #3b3b3b;
  --text-msg: #6b6b6b;
  --color-border: #dcdcdc; 
  --bg-modal: #fafafc;
  --bg-modal-item: #ffffff;
  --bg-modal-input: #efefef;
}
* {
  margin: 0;
  padding: 0;
}

input, select {
  outline: 0;
}


#portal {
  position: relative;
}

.w-70 {
  width: 70%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

.contain-home {
  position: relative;
  display: flex;
  height: 100vh;
  background-image: url('../assets/bg-primary.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.h-section-form {
  flex: 30%;
  min-width: 250px;
  max-width: 320px;
  box-shadow: rgba(0, 0, 0, 0.15) 4.95px 2.95px 10.6px;
  background-color: var(--bg-section);
  padding: 70px 0 0 20px;
}
.h-form {
}

.h-text-title, .text-subTitle {
  color: var(--text-title);
  padding: 6px 0;
}

.h-contain-radio {
  display: flex;
  margin: 10px 0;
}

.h-input-radio {
  border-radius: 10px;
  background-color: var(--bg-input);
  padding: 10px 15px;
  cursor: pointer;
  margin-right: 10px;
  border: 1px solid var(--color-border);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 7px 29px 0px;
  color: var(--text-label);
  cursor: pointer;
  font-size: .9em;
  font-weight: 500;
}

.h-input-radio-active {
  background-color: var(--color-primary);
  color: var(--text-white);
}

.h-input-radio input { 
  display: none;
}

.h-input-text {
  display: flex;
  flex-direction: column;
  max-width: 290px;
  padding: 5px;
}

.h-input-text > label {
  color:  var(--text-label);
  padding: 5px 0;
  font-size: .9em;
}

.h-input-text > input {
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: var(--bg-input);
}

.h-contain-dates {
  display: flex;
}

.h-input-date {
  border: 0;
  width: 100px;
}

.h-input-select {
  border: 0;
  width: 100%;
}

.h-contain-input-date {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: var(--bg-input);
}
.h-contain-input-date input {
  border: 0;
}
.h-contain-input-date input::-webkit-calendar-picker-indicator,
.m-form-input-date::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.h-contain-select {
  display: flex;
  position: relative;
  justify-content: space-between;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: var(--bg-input);
}
.h-contain-select select {
  padding: 10px 10px;
  appearance: none;
  width: 100%;
  background-color: transparent;
  border: 0;
  position: relative;
  z-index: 10;
}
.label-absolute {
  z-index: 1;
  position: absolute;
  top: 30%;
  right: 10px;
}
.h-button-primary {
  border-radius: 10px;
  background-color: var(--color-primary);
  padding: 10px 15px;
  cursor: pointer;
  margin: 10px;
  border: 1px solid var(--color-border);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 7px 29px 0px;
  color: var(--text-white);
  cursor: pointer;
  font-size: .9em;
  font-weight: 500;
  width: auto;
}

.h-button-primary:active {
  transform: scale(0.95);
}

/* css modal informacion pasajeros */
.contain-modal {
  top: 0;
  left: 0;
  /*background: rgba(0, 0, 0, 0.3);*/
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}
.contain-modal:target{
    visibility: visible;
    opacity: 1;
}
.modal {
  z-index: 100;
  background-color: var(--bg-modal);
  padding: 10px 0;
  border-radius: 10px;
  max-width: 800px;
  position: relative;
}
.m-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-height: 70vh;
  overflow: auto;
}
.m-header-title {
  font-weight: 600;
  color: var(--text-title);
}
.m-contain-items {
  max-height: 75vh;
  overflow: auto;
  margin: 10px 0;
  padding: 0px 40px;
}
.m-item {
  margin: 20px 0;
  background-color: var(--bg-modal-item);
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 300px;
  border: 1px solid var(--color-border);
}
.m-item-title {
  display: flex;
  align-items: center;
  color: var(--text-label);
  padding: 10px 0;
}
.m-item-title img {
  padding-right: 10px;
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.m-item-title-msg {
  color: var(--text-msg);
  font-size: .8em;
}
.m-form-group {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.m-form-input {
  position: relative;
  height: 25px;
  border: 0;
  display: flex;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: var(--bg-modal-input);
  display: flex;
  border: 1px solid var(--bg-modal-input);
  align-items: center;
  justify-content: space-between;
}
.m-form-input-date {
  width: 100%;
}
.m-form-input-date, .m-form-input-select {
  appearance: none;
  background-color: transparent;
  border: 0;
}

.m-group-code-number {
  padding: 10px;
  background: transparent;
  border: 0;
}
.m-group-code span {
  font-size: .9em;
  font-weight: 500;
  color: #b1b1b1;
}

.m-group-code-select {
  background: #ffffff;
  height: 100%;
  border: 0;
  border-right: 1px solid #d4d4d4;
  border-radius: 10px;
  margin-right: 5px;
  padding: 0 15px;
  appearance: none;
}

.m-contain-button {
  display: flex;
  justify-content: end;
}
.separator-horizontal {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.m-button-close {
  background: transparent;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  box-shadow: none;
  width: auto;
}
.m-button-close img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* modal de respuesta de pago */
.pay {
  display: flex;
  padding: 30px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.m-pay-title {
  color: var(--text-title);
  font-weight: 600;
  padding: 20px 0;
}
.m-pay-icon {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.m-buttons {
  margin-top: 10px; 
  display: flex; 
  justify-content: end;
}


@media screen and (max-width: 500px) {
  .h-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .h-input-contain {
    width: 100%;
  }
  .h-section-form {
    min-height: 80%;
    width: 80%;
    margin: auto;
    padding: 30px 20px;
    border-radius: 10px;
  }
  .m-header {
    padding-top: 40px;
  }
  .m-contain-items {
    padding: 0;
  }
  .m-item {
    width: 80%;
    margin: 10px auto;
    min-width: initial;
  }
  .m-buttons {
    justify-content: center;
  }
  .pay {
    width: 90%;
    padding: 30px 5px;
  }
}
