.qmodal-img {
  width: 50% !important;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.parts-list,
.parts-list .part-row,
.parts-list .part-name,
.part-item .part-name {
  color: #000;
}

.qmodal-title.sidebar-title {
  max-width: 70%;
  margin-left: 0;
  margin-right: 0;
}

.qmodal-list {
  max-width: 70%;
}

.qmodal-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qmodal-left-col .qmodal-img {
  margin-left: 0;
  margin-right: 0;
}

#quoteModal .form-label {
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.label-strong {
  font-weight: 700;
  font-size: 1.05rem;
}

#quoteModal .form-label .req {
  color: #d00;
  font-weight: 700;
  display: inline;
  margin-left: 4px;
}

.qmodal-section {
  background: #f3f6ff;
  border: 1px solid #e6ebf5;
  border-radius: 10px;
  padding: 12px;
}

#qmodal-form {
  background: #f3f6ff;
  border: 1px solid #e6ebf5;
  border-radius: 10px;
  padding: 12px;
}

.qmodal-section > h5.sidebar-title,
.qmodal-section > .sidebar-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 5px 12px rgba(102,126,234,0.24) !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-align: center !important;
  margin-bottom: 15px !important;
}

.modal-content,
#qmodal-form,
.qmodal-section {
  background-color: #fff !important;
  border-color: #ddd !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#quoteModal .form-label {
  color: #495057;
  font-weight: 600;
  margin-bottom: 8px;
}

#quoteModal .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
  color: #495057;
  transition: all 0.3s ease;
}

#quoteModal .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

#quoteModal .form-control::placeholder {
  color: #6c757d;
  font-style: italic;
}

#quoteModal textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

#quoteModal .btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

#quoteModal .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qmodal-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.qmodal-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #919191;
  border-radius: 7px;
  margin-bottom: 15px;
}

.parts-list {
  max-height: 420px;
  min-height: 420px;
  overflow-y: auto;
  font-size: 18px; 
}

.parts-list .part-item {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

.parts-list .part-item h6 {
  margin: 0 0 5px 0;
  font-size: 18px; 
  color: #333;
}

.parts-list .part-item p {
  margin: 0;
  font-size: 16px; 
  color: #666;
}

@media (min-width: 992px) {
  .modal-xxl {
    --bs-modal-width: 1200px;
  }
}

@media (min-width: 1200px) {
  .modal-xsl {
    --bs-modal-width: 1200px;
  }
}

#quoteModal .form-label {
  color: #495057;
  font-weight: 600;
  margin-bottom: 8px;
}

#quoteModal .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
  color: #495057;
  transition: all 0.3s ease;
}

#quoteModal .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

#quoteModal .form-control::placeholder {
  color: #6c757d;
  font-style: italic;
}

#quoteModal textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

#quoteModal .btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

#quoteModal .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#emailVerificationSection {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#emailVerificationSection:hover {
  border-color: #007bff;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.15);
}

#verificationCode {
  border: 2px solid #ced4da;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  color: #495057 !important;
  height: 48px;
}

#verificationCode:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

#verificationCode:disabled {
  background-color: #e9ecef;
  color: #6c757d !important;
  cursor: not-allowed;
}

#sendCodeBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px; 
  min-height: 48px;
  width: auto;
  min-width: 0;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  background: #007bff !important;
  color: white !important;
  border: 2px solid #007bff;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: none;
}

#sendCodeBtn span,
#sendCodeText {
  display: inline-block;
  width: auto;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: inherit;
}

#sendCodeBtn:disabled {
  background: #6c757d !important;
  border-color: #6c757d;
  cursor: not-allowed;
  color: white !important;
}

#sendCodeBtn:hover:not(:disabled) {
  background: #0056b3 !important;
  border-color: #0056b3;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#sendCodeBtn.btn-success {
  background: #28a745 !important;
  border-color: #28a745;
  color: white !important;
}

#sendCodeBtn.btn-success:hover {
  background: #1e7e34 !important;
  color: white !important;
}

#verificationStatus {
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.4;
  text-align: left;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  width: auto;
  box-sizing: border-box;
  word-wrap: normal;
  margin: 0 !important;
  color: #6c757d !important;
  white-space: nowrap;
}

#verificationStatusSection {
  margin-bottom: 0 !important;
  margin-top: -15px !important;
  position: relative;
  z-index: 1;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

#verificationStatusSection .col-7 {
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: none !important;
  border: none !important;
}

#verificationStatusSection + .form-group {
  margin-top: 5px;
}

#verificationStatusSection * {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#verificationStatus .text-success {
  color: #28a745 !important;
  font-weight: 600;
}

#verificationStatus .text-danger {
  color: #dc3545 !important;
  font-weight: 600;
}

#verificationStatus .text-info {
  color: #17a2b8 !important;
  font-weight: 600;
}

#emailVerificationSection label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 12px;
  display: block;
}

#sendCodeText {
  color: inherit !important;
  font-weight: inherit;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}

#emailVerificationSection .row.align-items-end {
  align-items: flex-end !important;
}

@media (max-width: 768px) {
  #emailVerificationSection {
    padding: 15px;
    margin: 10px 0;
  }

  #verificationCode {
    font-size: 14px;
    padding: 10px 12px;
    height: 44px;
  }

  #sendCodeBtn {
    height: 44px;
    min-height: 44px;
    font-size: 15px;
    padding: 0 14px;
  }

  #emailVerificationSection .col-7,
  #emailVerificationSection .col-5 {
    width: 100%;
    margin-bottom: 10px;
  }

  #emailVerificationSection .row.align-items-end {
    flex-direction: column;
  }

  #verificationStatus {
    white-space: normal;
    word-wrap: break-word;
  }

  .modal-dialog {
    margin: 10px;
  }

  .qmodal-section {
    padding: 15px;
    margin-bottom: 15px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#emailVerificationSection {
  animation: fadeIn 0.3s ease-out;
}

#sendCodeBtn:disabled .spinner-border {
  width: 1rem;
  height: 1rem;
  margin-right: 5px;
}

.countdown-timer {
  font-weight: 600;
  color: #dc3545;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.form-control.error,
.form-select.error,
.form-input.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  background-color: #fff5f5 !important;
}

.form-control.error:focus,
.form-select.error:focus,
.form-input.error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.front-panel-item input.error[type="radio"] {
  accent-color: #dc3545;
}

.front-panel-item:has(input.error[type="radio"]) {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

#quoteModal #qm_submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  padding: 15px 30px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

#quoteModal #qm_submit:hover,
#quoteModal #qm_submit:focus {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25) !important;
  outline: none !important;
  border: none !important;
  transform: translateY(-2px) !important;
}

#evSendBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important; 
  min-height: 48px !important;
  width: auto !important; 
  min-width: 0 !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

#evSendBtn:disabled {
  background: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed !important;
  color: #fff !important;
}

#evSendBtn:hover:not(:disabled) {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
  border: none !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3) !important;
}

@media (max-width: 768px) {
  #evSendBtn {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 15px !important;
    padding: 0 14px !important;
  }
}

#emailVerificationSection .verification-label,
#emailVerificationSection label[for="verificationCode"] {
  font-weight: 700 !important;
  color: #495057;
  margin-bottom: 10px !important;
  display: block;
}

#verificationCode {
  margin-top: 8px !important;
}

#emailVerificationSection .row .col-7 > label[for="verificationCode"] {
  margin-bottom: 10px !important;
}
