/* ------------------banner(service request)---------------------- */
.warranty-section-banner {
  background-image: url("../images/service-request/banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 176px;
  display: grid;
  place-items: center start;
}
.banner-heading {
  font-weight: 700;
  font-size: 30px;
  color: #fff;
}

@media (max-width: 768px) {
  .warranty-section-banner {
    height: 88px;
  }
  .banner-heading {
    font-size: 22px;
  }
}
/* <!-------------------warranty registration form --------------------------> */
.card {
  background-color: #f3f3f366;
  border-radius: 0;
  border: none;
}
.card-title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #2b2d37;
}
.card-subtitle,
.form-check-label {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #6b748c;
}
.form-content {
  padding: 0 64px;
}
.form-control {
  border-radius: 0;
}
form label {
  font-weight: 400;
  font-size: 14px;
  color: #393939;
}
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
  margin-top: 2px;
}
.input-group-text {
  color: #dd1f4d;
}
.form-check-input:focus {
  box-shadow: none;
  border-color: #ccc;
}

.form-check-input:checked {
  background-color: #dd1f4d;
  border-color: #dd1f4d;
}
.upload-box {
  border: 2px dashed #b3b8c680;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  position: relative;
}

.upload-box:hover {
  border-color: #666;
}

.upload-box img {
  width: 40px;
  margin-bottom: 10px;
}

#fileInput {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.file-info {
  margin-top: 15px;
  background: #f5f5f5;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.file-info span {
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-info button {
  background: transparent;
  color: #e74c3c;
  border: none;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: 8px;
}
.upload-box p {
  font-weight: 400;
  font-size: 12px;
  color: #6b748c;
}
.upload-box h4 {
  font-weight: 600;
  font-size: 14px;
  color: #6b748c;
}
h3 {
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #2b2d37;
}
.invalid-feedback {
  font-size: 12px;
  font-size: 400;
  transition: 0.7s linear ease-in;
}
.form-checkbox {
  border-radius: 0 !important;
}
.contact-submit-button {
  padding: 11px 30px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-radius: 0;
}
.contact-submit-button:hover {
  background-color: #fff;
  color: #dd1f4d;
  border-color: #dd1f4d;
}
.ui-datepicker {
  background-color: #fff;
  border: 1px solid #dd1f4d;
  padding: 10px;
  border-radius: 10px;
  width: auto;
  font-family: "Urbanist", sans-serif;
  z-index: 9999 !important;
}

.ui-datepicker-title {
  font-weight: 600;
  color: #dd1f4d;
}

.ui-datepicker-header {
  background-color: #dd1f4d;
  color: white;
  border: none;
  padding: 8px 0;
  border-radius: 10px 10px 0 0;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
  color: #000 !important;
}
.ui-datepicker-prev .ui-icon {
  background-image: none !important;
  font-family: "bootstrap-icons" !important;
  content: "\f284";
  color: white !important;
  font-size: 18px;
  font-weight: bold;
}

.ui-datepicker-next .ui-icon {
  background-image: none !important;
  font-family: "bootstrap-icons" !important;
  content: "\f285";
  color: white !important;
  font-size: 18px;
  font-weight: bold;
}

.ui-datepicker td {
  padding: 5px;
}

.ui-datepicker td a {
  text-align: center;
  padding: 6px;
  background-color: #f8f9fa;
  color: #212529;
  text-decoration: none;
  display: block;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.ui-datepicker td a:hover {
  background-color: #dd1f4d;
  color: white;
}

.ui-datepicker .ui-state-active {
  background-color: #dd1f4d !important;
  color: white !important;
  border: none;
}

.ui-datepicker .ui-state-highlight {
  background-color: #ffe6ec !important;
  color: #dd1f4d !important;
}
.input-group-text {
  border-radius: 0 !important;
}

@media (max-width: 768px) {
  .form-content {
    padding: 0 20px;
  }

  .form-check {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .form-check-input {
    margin-top: 0;
  }

  .form-check-label {
    text-align: left !important;
  }

  .upload-wrapper {
    width: 100%;
  }

  .upload-box {
    padding: 30px 10px;
  }

  h3 {
    font-size: 14px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
  }

  .card-title {
    font-size: 20px;
  }

  .card-subtitle {
    font-size: 12px;
    margin-bottom: 2rem;
  }

  .contact-submit-button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  .form-check-input[type="radio"],
  .form-check-input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .form-sub-content {
    width: 100%;
  }

  .d-flex.gap-3.mb-5 {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .form-check-label br {
    display: none;
  }

  label,
  input,
  p {
    font-size: 14px;
  }
  .form-control,
  .input-group-text {
    height: 47px !important;
    line-height: 1.5;
  }
}
