.summary-container-wrapper {
  display: none;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}

.summary-container {
  display: block;
  width: 100%;
  max-width: 800px;
  background: #1F3B4D;
  border-radius: 12px;
  padding: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.summary-spots-left {
  position: absolute;
  top: -12px;
  background-color: #c72a3d;
  color: white;
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.125rem;
  padding: 3px 8px;
}

.summary-trip-name {
  font-weight: 500;
  font-size: 1.25rem;
}

/* Button for selecting an hour */

.summary-starting-time-button {
  background-color: inherit;
  color: white;
  border: none;
  font-weight: 450;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
  margin: 5px;
}

.summary-starting-time-button:hover {
  background: #0056b3;
}

.summary-starting-time-button.active {
  background: #007bff;
}

/* Button for selecting a pickup place */

.summary-starting-pickup-place-button {
  background-color: inherit;
  color: white;
  border: none;
  font-weight: 450;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
  margin: 5px;
}

.summary-starting-pickup-place-button:hover {
  background: #0056b3;
}

.summary-starting-pickup-place-button.active {
  background: #007bff;
}

.summary-price-details {
  margin-bottom: 20px;
}

.summary-total-price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total-price-container form {
  width: auto;
}

.summary-total-price {
  font-size: 1.5rem;
  font-weight: 500;
}

.summary-btn-book {
  background: #34596f;
  color: white;
  border: none;
  font-weight: 450;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: all .4s ;
}

.summary-btn-book:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px rgb(31, 59, 77, 0.9);
}

@media (max-width: 450px) {
  .summary-total-price-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-total-price-container form {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .summary-btn-book {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}
