/**
 * Theme Name:     Divi Child
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   divi-child
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

.states-container {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
}

.state {
  transition: all 0.2s ease-in-out;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  min-width: 50px;
  height: 45px;
  cursor: pointer;
}

.state input[type="radio"] {
  display: none;
}

.state:has(input[type="radio"]:checked) {
  background-color: #ff6600;
}

.state h2 {
  padding: 0px !important;
  margin: 0;
  width: 100%;
  text-align: center;
  border-radius: 5px;
}

.state:hover {
  background-color: #ff6600;
}

.representative-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.representative-form .select-city {
  width: 100%;
  padding: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
  border: 1px solid #707070;
}

.representative-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.representative-container .card {
  width: calc(100% / 3 - 10px);
  min-height: 135px;
  max-height: 135px;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #bebebe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.representative-container .card .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #195f2b;
}

.representative-container .card .phone,
.representative-container .card .email {
  color: black;
}

@media (max-width: 768px) {
  .representative-form {
    padding: 10px;
  }

  .state {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .state h2 {
    font-size: 1rem;
  }
  .representative-container {
    padding: 10px;
    flex-direction: column;
  }

  .representative-container .card {
    width: 100%;
  }
}
