/* QUOTE MESSAGE */
ul.quote-message {
  list-style: none;
}
ul.quote-message li .quote-message-content {
  margin-bottom: 10px;
  padding: 10px;
  background: #efefef;
  position: relative;
}
ul.quote-message li .quote-message-content.customer {
  background: #2d2d2d;
  color: #ffffff;
}
ul.quote-message li .quote-message-content:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: #efefef transparent;
}
ul.quote-message li .quote-message-content.customer:after {
  border-color: #2d2d2d transparent;
}

/* MAGNIFIC POPUP */
.rnb-popup {
  padding: 100px 100px 50px;
  position: relative;
  background: #FFF;
  width: auto;
  width: 50%;
  margin: 20px auto;
}

.rnb-popup input, .rnb-popup textarea {
  width: 100%;
}

/* ------------------------------ */
/* gdpr checkbox style */
/* ------------------------------ */
.rnb-gdpr-checkbox-field {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.rnb-gdpr-checkbox-field input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
}

.rnb-gdpr-checkbox-field-text {
  padding-left: 34px;
}

.rnb-gdpr-checkbox-field-text:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #d7d7d7;
  position: absolute;
  left: 0;
  top: 5px;
  border-radius: 2px;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

.rnb-gdpr-checkbox-field input[type="checkbox"]:checked + span:before {
  width: 10px;
  top: -2px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-color: #2d2d2d;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/**
pop up 
**/
#quote-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden; /* Initially hidden */
  opacity: 0; /* Initially not visible */
  transition: visibility 0s, opacity 0.3s;
}

/* Show the popup when active */
#quote-popup.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup-content p {
  margin: 10px 0;
}

.popup-content span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content input[type="password"],
.popup-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.popup-content button.quote-submit {
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

.popup-content button.quote-submit i {
  margin-left: 10px;
  display: none;
}

.popup-content button.quote-submit:active,
.popup-content button.quote-submit:hover {
  background-color: #2980b9;
}

.rnb-gdpr-checkbox-field {
  display: flex;
  align-items: center;
}

.rnb-gdpr-checkbox-field-text {
  margin-left: 10px;
  font-size: 0.9em;
}

.quote-modal-message {
  margin-top: 10px;
  color: #e74c3c; /* Error or message color */
}
