.plane {
  margin-top: 61px;
}
.flight-card {
  width: 100%;
  margin: 0 auto;
  margin-top: 20px;
  max-width: 1280px;
}

.flight-summary {
  padding: 15px;
  cursor: pointer;
  width: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.flight-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
}
.flight-img {
  min-width: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.flight-img img {
  width: 70px;
  height: 50px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.flight-info {
  padding-left: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flight-info-type {
  margin-left: 30px;
}
.flight-times {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
}

.flight-route {
  color: #666;
  margin-top: 5px;
}

.flight-duration {
  margin-top: 10px;
  color: #999;
}

.flight-class {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.flight-class span {
  background-color: #f2f2f2;
  padding: 2px 5px;
  border-radius: 5px;
  margin-left: 5px;
}

.flight-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flight-price span {
  font-size: 22px;
  color: var(--color-text-7);
  font-weight: bold;
}

.flight-dropdown-content {
  display: none;
  border-top: 1px solid #ccc;
  padding: 15px;
  transition: 0.3s ease;
}

.flight-dropdown-content-option {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flight-dropdown-content-option:last-child {
  border-bottom: none;
}

.flight-option-type {
  font-weight: bold;
}

.flight-option-details {
  color: #555;
  margin-top: 5px;
}

.flight-option-price {
  color: var(--color-text-7);
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  font-size: 20px;
}
.flight-option-order form {
  display: flex;
}
.flight-option-submit {
  margin-right: 15px;
}
.flight-option-details-title div {
  display: flex;
  align-items: center;
}
.flight-option-submit input[type="number"]::-webkit-inner-spin-button,
.flight-option-submit input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 1200px) {
  .flight-card {
    padding: 0 10px;
  }
}
@media (max-width: 700px) {
  .flight-info-type {
    display: none;
  }
  .flight-price span {
    font-size: 17px;
  }
}
@media (max-width: 450px) {
  .flight-price-btn,
  .flight-img,
  .flight-route,
  .flight-option-type p,
  .flight-option-details-title p,
  .flight-option-price,
  .flight-option-order .firstBtn {
    font-size: 13px;
  }
  .flight-price-btn {
    padding: 8px 10px;
  }
}

/* form */

.plane-form {
  background: linear-gradient(
    270deg,
    rgb(253, 107, 116) 0%,
    rgb(255, 51, 102) 60.24%
  );
  color: white;
  position: relative;
  z-index: 100;
  font-size: 14px;
  line-height: 24px;
  width: 100%;
}

.plane-search-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}
/* banner nini to drop*/
.plane-search-form-mini {
  background: linear-gradient(
    270deg,
    rgb(253, 107, 116) 0%,
    rgb(255, 51, 102) 60.24%
  );
  opacity: 0;
  height: 0;
  display: flex;
  font-size: 18px;
  justify-content: space-between;
  align-items: center;
}
.plane-search-form-mini-title {
  font-weight: 700;
}
.plane-search-form-mini-icon {
  padding: 1px 6px;
  font-size: 12px;
  border-radius: 5px;
  background-color: white;
  color: #767676;
}
.plane-search-form-mini-icon ion-icon{
  font-size: 32px;
}
/* banner places */

.plane-search-form-places {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  position: relative;
}

.plane-place {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  min-width: 215px;
  flex: 1 1 0%;
  max-width: 376px;
  height: auto;
  outline: none;
}
.plane-place ion-icon {
  font-size: 20px;
  margin: 0 10px;
  transform: rotate(-35deg);
}

.plane-place-title,
.province-dropdown-title {
  display: flex;
  height: 30px;
  align-items: center;
  font-size: 20px;
}
.plane-airline-select{
  padding: 10px;
}
.plane-place-input,
.plane-airline-select,
.plane-input {
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 4px;
  background-color: white;
  animation-duration: 0.175s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 0;
}

.plane-place-icon,
.plane-date-input ion-icon,
.plane-customer-input ion-icon {
  margin: 0 10px;
}

.material-symbols-outlined {
  color: black;
}

/* ========== Banner dropdown province =============== */
.plane-place-input-wrapper {
  height: 100%;
  width: 90%;
}
.province-dropdown-wrapper {
  overflow: hidden;
  border-radius: 10px;
  top: -2px;
  left: 70px;
  position: absolute;
  width: 360px;
  z-index: 105;
  background-color: white;
  padding: 10px 20px 20px 20px;
  max-width: 320px;
  animation: mymove 0.5s ease-in-out 1;
  transition: all 1.5ms;
}
.search-input {
  width: 100%;
  padding: 6.5px;
  display: flex;
  border-radius: 5px;
  align-items: center;
  border: 1px solid rgb(255, 51, 102);
  box-shadow: rgba(255, 51, 102, 0.25) 0px 0px 0px 0.2rem;
}
.province-dropdown {
  color: #444444;
  margin-top: 12px;
}

.province-item {
  padding: 10px 20px 10px 5px;
  font-size: 18px;
  font-weight: 300;
}

.province-item:hover {
  transition: all 0.3s;
  box-shadow: 0px 0px 2px rgb(94, 94, 94);
  color: #dadada;
}

.province-dropdown-title {
  color: black;
  margin-bottom: 0.5rem;
}

/* ======= End of DROPDOWN ========= */
.plane-input,
.plane-input-selected {
  outline: none;
  border: none;
  font-size: 14px;
  font: inherit;
  color: black;
  width: 100%;
  border: 0;
  margin: 0;
  display: block;
  min-width: 0;
  background: none;
  box-sizing: content-box;
}

/* banner airline plan */

.plane-search-form-airline {
  max-width: 170px;
  min-width: 100px;
  flex: 1 1 0%;
  height: auto;
  position: relative;
  outline: none;
  transition: all 0.1s ease 0s;
  transform: translateX(0px);
  z-index: 100;
}

.plane-airline {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.plane-airline-title {
  display: flex;
  height: 30px;
  align-items: center;
  font-size: 20px;
}

.plane-options {
  border: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  z-index: 100;
}

.plane-option-name {
  outline: none;
  border: none;
  font-size: 14px;
  font: inherit;
  color: black;
  width: 100%;
  border: 0;
  margin: 0;
  display: block;
  padding: 6px 0 7px;
  min-width: 0;
  background: none;
  box-sizing: content-box;
}
.plane-options.show {
  border-radius: 4px;
  display: block;
  max-height: 150px;

  padding: 10px 15px 15px 15px;
  position: absolute;
  background-color: white;
  color: #444444;
  width: 100%;
  border-radius: 10px;
  z-index: 105;
}

.plane-option {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.plane-option:hover {
  transition: all 0.3s;
  box-shadow: 0px 0px 2px rgb(94, 94, 94);
  color: #ff466d;
}


.plane-option-img img {
  width: 30px;
  height: 30px;
}

/* banner date time */
.plane-search-form-date {
  max-width: 324px;
  min-width: 250px;
  flex: 1 1 0%;
  height: auto;
  position: relative;
  outline: none;
  transition: all 0.1s ease 0s;
  transform: translateX(0px);
  z-index: 100;
}

.plane-date {
  padding: 12px 12px 0px 12px;
}

.plane-date-title,
.plane-customer-title {
  margin-bottom: 4px;
  height: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}

.plane-date-input {
  position: relative;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  border-radius: 4px;
  background-color: white;
  color: rgb(33, 33, 33);
  animation-duration: 0.175s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 0;
}

.plane-date-input ion-icon {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.plane-date-input input {
  display: flex;
  height: 21px;
  margin: 2px 1px;
  padding-right: 5px;
  flex: 1 1 0%;
}

/* --------- customer -------- */
.plane-search-form-customer {
  padding: 12px 12px 0 12px;
  background-color: transparent;
  position: relative;
  flex: 1 1 0%;
}

.plane-customer-input {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding-right: 2px;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  color: rgb(33, 33, 33);
  border-color: rgb(189, 189, 189);
  background-color: white;
}

.plane-customer-input span {
  display: flex;
  height: 24px;
  margin: 2px 1px;
  padding-right: 5px;
  flex: 1 1 0%;
  overflow: hidden;
}
.plane-date-input ion-icon,
.plane-customer-input ion-icon {
  font-size: 19px;
  display: flex;
  align-items: center;
}

.plane-customer-input span {
  max-width: 100%;
  display: flex;
  height: 24px;
  margin: 2px 1px;
  padding-right: 5px;
  flex: 1 1 0%;
  overflow: hidden;
}

/* ======= customer - 2 =================== */
.plane-search-form-customer-2 {
  left: -5px;
  width: 100%;
  top: 1%;
  position: absolute;
  background-color: transparent;
  z-index: 110;
  color: #444444;
  border-radius: 5px;
  overflow: hidden;
  animation: mymove;
}
.plane-search-form-customer-2 {
  display: none;
}

.plane-search-form-customer-2.active {
  display: block;
}

.plane-customer-top-wrapper {
  padding: 10px 12px;
  background-color: white;
}
.plane-customer-bottom-wrapper {
  background-color: white;
  padding: 8px 12px;
}

.plane-input-selected {
  max-width: 245px;
}
.plane-input-selected,
.plane-customer-input span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plane-section {
  margin-bottom: 15px;
}
.plane-selection {
  box-shadow: rgba(255, 51, 102, 0.25) 0px 0px 0px 0.2rem;
  border: 2px solid rgb(255, 51, 102);
}
.section-title {
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.plane-seat-classes {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  white-space: nowrap;
  flex-wrap: wrap;
  margin: auto;
  gap: 5px;
}

.plane-seat-class {
  border: 1px solid #ccc;
  border-radius: 15px;
  background-color: #f8f8f8;
  cursor: pointer;
  font-size: 12px;
  color: rgb(117, 117, 117);
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-top: 3px;
}

.plane-seat-class.active {
  border-color: rgb(255, 106, 57);
  background-color: rgb(255, 106, 57);
  color: white;
}

.plane-passenger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.plane-passenger label {
  font-size: 12px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 5px;
}

.counter .minus,
.counter .plus {
  width: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.counter .count {
  width: 20px;
  text-align: center;
  font-size: 14px;
}

.plane-btn-complete {
  border-top: 1px solid rgb(0, 0, 0);
  margin-top: 5px;
  margin-bottom: 15px;
  width: 100%;
  padding: 10px;
  background-color: #f00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

/* ========== End CusTomer =============== */

.plane-search-form-button {
  height: 96px;
  display: flex;
  align-items: flex-end;
  margin-left: 18px;
  margin-right: 18px;
}

.plane-search-button {
  margin-bottom: 11px;
  padding: 6px 21px;
  font-size: 1.0714285714285714rem;
  background-color: white;
  border: none;
  min-width: 64px;
  box-sizing: border-box;
  font-weight: 500;
  line-height: 26px;
  border-radius: 4px;
  letter-spacing: 0.02857em;
  text-transform: none;
  border: 1px solid rgb(189, 189, 189);
  background-color: white;
}

.plane-search-button:hover {
  background: rgb(255, 255, 255) 60.24%;
  color: rgb(255, 59, 59) !important;
}
.plane-search-button ion-icon {
  font-size: 19px;
}

.plane-search-button span {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: c;
  color: rgb(33, 33, 33);
  padding-right: 2px;
  border-width: 1px;
  border-radius: 4px;
}

/* ===========end================= */

/* banner calendar */
#datepicker-container {
  position: absolute;
  top: 200px;
  width: 100%;
  height: 100%;
}

#datepicker-container .ui-datepicker {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
  z-index: 102;
  width: 320px;
}

#datepicker-container .ui-datepicker-group {
  margin: 0 5px;
}

#datepicker-container .ui-datepicker-header {
  background-color: #ff466d;
  color: white;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

#datepicker-container .ui-datepicker-title {
  font-weight: bold;
}

#datepicker-container .ui-datepicker-calendar {
  margin: 10px 0;
}

.ui-datepicker td {
  padding: 0 !important;
}

.ui-datepicker td a {
  padding: 0.5rem !important;
}

.flight-note {
  font-size: 14px;
  font-weight: bold;
  padding: 15px 0;
}

#datepicker-container .ui-state-default {
  background-color: #f5f5f5;
  border-radius: 0px;
}

#datepicker-container .ui-state-active {
  background-color: #ff466d;
  color: white;
}

#datepicker-container .ui-datepicker-buttonpane {
  text-align: center;
  padding: 10px;
}

#datepicker-container .ui-datepicker-close {
  background-color: #ff466d;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 850px) {
  .plane-search-form {
    display: none;
  }
  .plane-search-form-mini {
    opacity: 1;
    height: auto;
    padding: 15px;
  }
  .plane-search-form {
    flex-direction: column;
    align-items: center;
    margin-top: -20px;
  }
  .plane-place,
  .plane-search-form-places,
  .plane-search-form-date,
  .plane-search-form-customer,
  .plane-search-form-button,
  .plane-search-form-airline {
    width: 90%;
    max-width: none;
    min-width: auto;
    margin-bottom: 10px;
  }
  .plane-search-form-customer {
    padding: 0;
  }

  .plane-search-form-places {
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
  }
  .plane-customer-title,
  .plane-airline-title,
  .plane-place-title {
    display: none;
  }

  .plane-airline,
  .plane-place,
  .plane-date,
  .plane-customer-input {
    width: 100%;
    padding: 0;
  }
  .plane-search-form-button {
    height: auto;
  }

  .plane-search-button {
    width: 100%;
  }
  .flight-class {
    font-size: 13px;
    max-width: 385px;
    gap: 8px;
    margin-right: 10px;
  }
  .flight-price-btn {
    padding: 8px 15px !important;
  }
  .plane-search-button:hover {
    background: white;
  }
}
@media (max-width: 650px) {
  .plane-search-form-places {
    position: relative;
  }
}
@media (max-width: 500px) {
  .plane-search-form-customer {
    padding: 0;
  }
  .plane-place {
    margin: 0;
  }
  .province-item {
    border-bottom: 0.2px solid lightgray;
    color: #767676;
  }
  .province-dropdown-wrapper {
    max-width: 320px;
    animation: mymove;
    animation-duration: 0.175s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 0;
    transition: all 1.5ms;
  }
  .province-dropdown {
    top: 100%;
  }
  .plane-place-title,
  .plane-customer-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .plane-place-input,
  .plane-date-input,
  .plane-customer-input {
    height: auto;
  }

  .swap-group {
    flex-direction: column;
    align-items: center;
  }

  .swap-button {
    margin-bottom: 10px;
  }
  #datepicker-container .ui-datepicker {
    width: 280px;
  }
}

@media (max-width: 370px) {
  .province-dropdown-wrapper {
    max-width: 280px;
  }
}

/* @keyframes mymove {
    from {left: -35px;}
    to {left: 0px;}
  } */
