/** @format */

/* Form Container and Common Styles */
.car-service-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

/* Form Groups */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.checkbox-group label {
  min-width: 150px;
}

.form-group select,
.form-group input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group input[type="text"]#registration {
  text-transform: uppercase;
}

.form-group input[type="date"] {
  font-family: inherit;
}

.form-group select:disabled {
  background-color: #f5f5f5;
  cursor: not-available;
}
/* .form-group-last_services_done label {
  color: #48ae39;
} */
.what-was-serviced {
  margin: 0 0 5px 0;
  font-weight: 700;
}
.what-was-serviced-items {
}
/* Submit Button */
.submit-button {
  background-color: #0073aa;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
}

.submit-button:hover {
  background-color: #005177;
}

/* Result Popup Container */
.atr-car-service-result {
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.5); */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 1000;
}

/* Popup Content */
.atr-car-service-result-popup-inner-wrap {
  background: white;
  border-radius: 12px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 560px;
  position: relative;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
  font-size: 1rem;
}

/* Close Button */
.atr-car-service-result-close-popup {
  position: absolute;
  top: 12px;
  left: 12px;
  background: none;
  border: none;
  font-size: 24px;
  background-color: #273762 !important;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.atr-car-service-result-close-popup:hover {
  background-color: #f3f4f6;
}

/* Success and Error States */
.updated.success {
  padding: 1.5rem;
}

.updated.success p {
  background: #f0f7ff;
  border: 1px solid #e1effe;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.updated.success p:last-child {
  margin-bottom: 0;
}

.atr-car-service-result.error {
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  color: #a94442;
}

/* Animation */
@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.atr-car-service-result-popup-content-wrap {
  width: 550px;
  max-width: 90%;
}
.atr-car-service-result-popup-content h3 {
  margin: 10px 0 0 0;
}
@media (max-width: 640px) {
  .atr-car-service-result-popup-content {
    margin: 1rem;
    max-width: 100%;
  }
}
.car-details-fields-wrapper {
  display: none;
}
.car-details-fields-wrapper.show {
  display: flex;
}

.car-service-form .search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-direction: column;
}

.car-service-form .search-container input {
  flex-grow: 1;
}

.car-service-form .search-container > * {
  margin: 0 5px;
}

.car-service-form .search-container > *:first-child {
  margin-left: 0;
}

.car-service-form .search-container > *:last-child {
  margin-right: 0;
}
.car-service-form .checkbox-group.first-service,
.car-service-form .checkbox-group.not-first-service {
  margin: 20px 0px;
  text-align: center;
}
.atr-car-service-result .atr-car-service-result-popup-header {
  margin: 10px 10px;
}
.atr-car-service-result
  .atr-car-service-result-popup-header.error-services-header,
.atr-car-service-result .error-services-content {
  text-align: center;
}
.car-service-form .not-available-for-this-car {
  color: #8089ae;
  background: aliceblue;
  padding: 10px;
  border-radius: 15px;
}
.car-service-form .form-group.search-container input {
  max-width: 250px;
}

.car-service-form .form-group.search-container button {
  border-radius: 15px;
  border-color: #13aff0;
  background-color: #13aff0 !important;
  font-family: inherit;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  padding: 14px 40px;
  border: 0;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
}

.atr-car-service-result-popup-content .updated.success ul {
  padding: 0;
  margin: 0 30px 0 0;
}
.atr-car-service-result-popup-content .updated.success ul li {
  font-size: 1.6em;
}
.atr-car-service-result-popup-content .updated.success {
  padding: 1.5rem;
}

input#misparRechev {
  text-align: center;
}
.last-service-km-last-service-date {
  display: flex;
  justify-content: space-between;
}
.form-group.service-info {
  width: 45%;
  font-size: 1.1rem;
}
.form-group.service-info.form-group-current_km {
  margin: 0 auto;
}
.form-group-current_km {
  text-align: center;
}
.form-group-current_km input#current_km {
  min-width: 150px;
  text-align: center;
}
.form-group.service-info.form-group-current_km label {
  text-align: center;
}
.form-group.service-info.form-group-last_services_done {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.form-group.service-info.form-group-last_services_done .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.form-group-last_services_done .checkbox-item {
  display: flex;
  width: 280px;
}
.form-group-last_services_done .checkbox-item input {
  margin: 7px 20px;
}
.form-group-last_services_done .checkbox-item label {
  font-size: 0.8em;
  font-weight: 400;
}
.form-group-car-info {
  text-align: center;
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  padding: 5px 0;
  margin-bottom: 16px;
}
.form-group-car-info span {
  display: inline-block;
}

.admin-bar .atr-car-service-result-popup-inner-wrap {
  margin-top: 0;
}

.admin-bar li.period_id-1 {
  color: #ff6f00; /* Vivid Orange */
}
.admin-bar li.period_id-2 {
  color: #1e7d22; /* Deep Green */
}
.admin-bar li.period_id-3 {
  color: #d32f2f; /* Strong Red */
}
.admin-bar li.period_id-4 {
  color: #007acc; /* Bright Blue */
}
.admin-bar li.period_id-5 {
  color: #8e24aa; /* Rich Purple */
}
.admin-bar li.period_id-6 {
  color: #303f9f; /* Deep Indigo */
}
.admin-bar li.period_id-7 {
  color: #00897b; /* Teal */
}

.credit-transportation-office {
  font-size: 0.6em;
  margin: 0;
  color: #cdcccc;
}
.atr-credit {
  font-size: 9px;
  text-align: left;
  display: none;
}

.atr-car-service-result-popup-content .calculating {
  min-height: 75px;
  text-align: center;
  font-size: 18px;
}
.atr-car-service-result-popup-content p {
  padding: 0 10px;
  text-align: center;
}

/** Get Quote Popup */
.atr-car-service-result-popup-send-email {
  border-radius: 15px;
}
ul.next-services-list {
  color: #48ae39;
}
.atr-car-service-result-popup-get-quote-form
  .form-group.get-quote-details-wrap {
  display: flex;
  justify-content: space-around;
  margin: 0;
  flex-wrap: wrap;
}
.atr-car-service-get-quotes-title-wrap {
  margin: 0 10px 10px 10px;
}
.atr-car-service-get-quotes-title {
  text-align: center;
  font-weight: 700;
  margin: 3px 0 3px 0;
  border-top: solid 1px #ddd;
  padding: 6px 0 1px 0;
  font-size: 15px;
}
.form-group.get-quote-details-wrap label {
  font-weight: 400;
  font-size: 0.8em;
  text-align: center;
}
.atr-car-service-result-popup-get-quote-form
  .form-group.get-quote-details-wrap
  .form-group
  input {
  text-align: center;
}
button#atr-car-service-result-popup-email-send-button {
  margin: 0;
  background-color: #13aff0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  border: 0;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
  border-radius: 15px !important;
  border-width: 1px;
  margin: 0 10px !important;
  width: calc(100% - 20px);
}
button#atr-car-service-result-popup-email-send-button:hover {
  background-color: #0b7cac !important;
}
.atr-car-service-disclaimer {
  color: #c4c3c3;
  font-size: 1.2em;
  padding: 0 10px;
  margin: 10px 0;
  text-align: center;
}
.fixed-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fixed-services li {
  position: relative;
  padding-inline-start: 1.5em;
}

.fixed-services li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
}
.next-services-list-wrap {
  padding: 0;
  margin: 0 30px 0 0;
  background-color: #e6f9ec;
  border-right: 4px solid #2ecc71;
  padding: 1em 0.2em;
  margin: 1em 0;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(46, 204, 113, 0.2);
}
.car-service-quote-thank-you {
    padding: 0;
    margin: 0 30px 0 0;
    background-color: #e6f9ec;
    border-right: 4px solid #2ecc71;
    padding: 1em 0.2em;
    margin: 1em 0;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.2);
}
.car-service-quote-thank-you p {
    margin: 0;
    text-align: center;
}