#cm-parts-request,
#cm-parts-request * { box-sizing: border-box; }
#cm-parts-request {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#cm-parts-request[hidden] { display: none !important; }
#cm-parts-request .cmpr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 36, 0.55);
}
#cm-parts-request .cmpr-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(8, 18, 40, 0.28);
  padding: 14px 16px 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: #1c2434;
}
#cm-parts-request .cmpr-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
#cm-parts-request .cmpr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 22px 10px 0;
}
#cm-parts-request .cmpr-logo-box {
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}
#cm-parts-request .cmpr-logo-box[hidden] { display: none !important; }
#cm-parts-request .cmpr-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
#cm-parts-request .cmpr-head-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}
#cm-parts-request .cmpr-title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #1c2434;
}
#cm-parts-request .cmpr-intro {
  margin: 0;
  color: #8b93a1;
  font-size: 13px;
  line-height: 1.4;
}
#cm-parts-request .cmpr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
#cm-parts-request .cmpr-full { grid-column: 1 / -1; }
#cm-parts-request label {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1c2434;
}
#cm-parts-request .cmpr-required:after {
  content: " *";
  color: #e11d2e;
}
#cm-parts-request input[type="text"],
#cm-parts-request input[type="email"],
#cm-parts-request textarea {
  display: block;
  width: 100% !important;
  height: 38px !important;
  margin: 0;
  border: 1px solid #e4e7ec !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1c2434 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  padding: 8px 12px !important;
  box-shadow: none !important;
}
#cm-parts-request textarea {
  height: auto !important;
  min-height: 64px;
  resize: vertical;
}
#cm-parts-request input::placeholder,
#cm-parts-request textarea::placeholder { color: #b0b7c3; }
#cm-parts-request input:focus,
#cm-parts-request textarea:focus {
  outline: none;
  border-color: #8eb4d6 !important;
}
#cm-parts-request .cmpr-error {
  display: none;
  margin-top: 2px;
  color: #d21b2a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
}
#cm-parts-request .cmpr-error:not(:empty) { display: block; }
#cm-parts-request .cmpr-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 14px 12px;
  border: 1.5px dashed #d5dbe3;
  border-radius: 10px;
  background: #fafbfc;
  text-align: center;
  font-weight: 400;
  cursor: pointer;
}
#cm-parts-request .cmpr-drop.is-over { border-color: #8eb4d6; background: #f4f9fd; }
#cm-parts-request .cmpr-drop input { display: none; }
#cm-parts-request .cmpr-drop-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  color: #7aa0c4;
}
#cm-parts-request .cmpr-drop-title {
  color: #3e4c63;
  font-size: 13px;
  font-weight: 700;
}
#cm-parts-request .cmpr-drop-hint,
#cm-parts-request .cmpr-drop-files {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 400;
}
#cm-parts-request .cmpr-drop-files:empty { display: none; }
#cm-parts-request .cmpr-info {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  background: #eef6ff;
  border: 1px solid #d6e8f8;
  border-radius: 8px;
  padding: 10px 12px;
  color: #3d6f99;
  font-size: 12px;
  line-height: 1.45;
}
#cm-parts-request .cmpr-info-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2f6fed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
#cm-parts-request .cmpr-info strong {
  display: block;
  margin-bottom: 2px;
  color: #1e4e78;
  font-size: 13px;
}
#cm-parts-request .cmpr-actions { margin-top: 12px; text-align: right; }
#cm-parts-request .cmpr-submit {
  border: 0;
  border-radius: 8px;
  background: #0c2348;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}
#cm-parts-request .cmpr-submit:hover { background: #16386e; }
#cm-parts-request .cmpr-submit:disabled { opacity: 0.7; cursor: default; }
#cm-parts-request .cmpr-warning {
  display: none;
  margin-top: 8px;
  color: #d21b2a;
  font-size: 13px;
}
#cm-parts-request .cmpr-success {
  display: none;
  padding: 28px 12px 16px;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: #16386e;
}
@media (max-width: 680px) {
  #cm-parts-request .cmpr-dialog { padding: 16px 14px 12px; }
  #cm-parts-request .cmpr-head { flex-direction: column; margin-right: 22px; }
  #cm-parts-request .cmpr-logo-box { flex-basis: auto; width: 100%; min-height: 88px; }
  #cm-parts-request .cmpr-title { font-size: 18px; }
  #cm-parts-request .cmpr-grid { grid-template-columns: 1fr; }
}
