/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #f9f6f2;
  border-radius: 4px;
  width: 100%;
  max-width: 600px;
  position: relative;
  padding: 30px 20px !important;
}

.modal-header {
  padding: 15px 30px;
  position: relative;
  border: none !important;
}

.modal-header h2 {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 24px !important;
  margin: 0;
}

.close-button {
  position: absolute;
  right: 10px;
  top: -15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #363636;
  padding: 0;
}

.modal-body {
  padding: 0px 30px 30px 30px;
}

.form-group {
  margin-bottom: 30px;
}

h6 {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 20px !important;
  line-height: 30px;
  margin: 15px 0;
  color: #363636;
  margin-bottom: 1rem !important;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.duration-group {
  flex-wrap: wrap;
  gap: 15px;
}

.radio-button {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.radio-button input[type="radio"] {
  position: absolute;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  background: white;
  outline: 1px solid #514a42 !important;
  border: 2px solid white;
  width: 16px;
  height: 16px;
  right: 15px;
  border-radius: 2px;
}
input[type="radio"]:checked {
  background: #514a42;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 12px 12px 12px 12px;
  border: 1px solid #514a42;
  border-radius: 4px;
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #514a42;
  transition: all 0.3s ease;
}

.radio-button input[type="radio"]:checked + .radio-label {
  /*  background: #9c814a; */
  color: #514a42;
  border-color: #9c814a;
}

.radio-button input[type="radio"]:not(:checked) + .radio-label {
  color: #d9d9d9;
  border-color: #d9d9d9;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: #9c814a;
  color: white;
  border: none;
  border-radius: 4px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  background: #8d7443;
}

#politicaPrivModal .modal-content {
  max-height: 80vh;
  overflow-y: scroll;
  max-width: 650px;
}

#politicaPrivModal .modal-body p {
  padding-bottom: 1em;
}

#termosCondicoesModal .modal-content {
  max-height: 80vh;
  overflow-y: scroll;
  max-width: 650px;
}

#termosCondicoesModal .modal-body p {
  padding-bottom: 1em;
}

#cookiesModal .modal-content {
  max-height: 80vh;
  overflow-y: scroll;
  max-width: 650px;
}

#cookiesModal .modal-body p {
  padding-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .modal-content {
    border-radius: 0 !important;
    margin: 0;
    border: none !important;
    height: 100vh;
    max-height: 100vh !important;
    padding: 70px 20px !important;
  }

  .radio-label {
    padding: 12px 0px 12px 10px;
    text-align: left !important;
  }

  .modal-body {
    padding: 50px 30px 30px 30px;
  }

  .form-group:nth-of-type(4) .radio-label {
    width: 310px;
  }
}
