/*
 Theme Name:    Divi Child
 Template:      Divi
 Version:       1.0.0
 Description:   Child tema za Divi s podrškom za rezervacijski sustav
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.custom-reservation-form,
.custom-reservation-form * {
  font-family: 'Montserrat', sans-serif !important;
}

.custom-reservation-form {
  padding: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  box-sizing: border-box;
}

.custom-reservation-form .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.custom-reservation-form .form-group {
  flex: 1 1 calc(50% - 20px);
  position: relative;
  margin-bottom: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .custom-reservation-form .form-row .form-group:nth-child(2n) {
    margin-right: 0;
  }
  .custom-reservation-form .form-row .form-group:nth-child(2n-1) {
    margin-right: 40px;
  }
}

.custom-reservation-form .form-group:only-child,
.custom-reservation-form .form-group.full-width {
  flex: 1 1 100%;
  max-width: 100%;
  margin-right: 0 !important;
}

.custom-reservation-form input,
.custom-reservation-form textarea {
  border: none;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 16px 12px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #000;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  outline: none;
}

.custom-reservation-form input::placeholder,
.custom-reservation-form textarea::placeholder {
  color: #888;
  opacity: 1;
  font-weight: 500;
}

.custom-reservation-form textarea {
  resize: vertical;
  min-height: 180px;
}

.custom-reservation-form .text-right {
  text-align: right;
}

.custom-reservation-form button {
  background-color: black;
  color: white;
  padding: 16px 36px;
  border: none;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-reservation-form button:hover {
  background-color: #d1b77b;
  color: black;
}

input[type="date"]::-webkit-datetime-edit {
  color: #888;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}