
.body-content-formal-container {
}
.main-content {
  margin: 0 auto;
}
.bom-tool {
  display: flex;
}
.bom-tool .modal-content-main {
  display: flex;
  padding: 20px;
  gap: 16px;
  justify-content: space-between;
}
.content-bom-form-upload .content-bom-form-upload-input {
  display: flex;
  flex-direction: column;
  height: 45px;
  padding-left: 20px;
  border-radius: 6px;
  box-shadow: 0 -1px 20px -9px rgba(0,0,0,0.3);
  border: 1px solid #e5e5e5;
}
.content-bom-form-upload .custom-file-upload {
  background: #3671B0;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 180px;
}

.content-bom-form-upload .custom-file-upload img {
  width: 16px;
  height: 17px;
}
.content-bom-form-upload .custom-file-upload p:nth-of-type(1) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.content-bom-form-upload .custom-file-upload p:nth-of-type(1) span {
  font-size: 16px;
  font-weight: 600;
}
.content-bom-form-upload .custom-file-upload p:nth-of-type(2) {
  font-size: 12px;
  font-weight: 400;
  opacity: .6;
  text-align: center;
}






/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #e8f4fc 0%, #f0f7ff 100%);
  border-radius: 6px;
  padding: 28px 32px;
  margin: 20px 0 24px;
  position: relative;
  overflow: hidden;
}
.hero-banner h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 8px;
}
.hero-banner p {
  font-size: 14px;
  color: #555;
}

/* Page Layout */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 50px;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Quote Options */
.quote-options {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px;
}
.quote-option {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.quote-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.quote-option:first-child {
  padding-top: 0;
}
.quote-option h3 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.quote-option p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}
.feature-list {
  list-style: none;
  margin-top: 10px;
  padding: 0;
}
.feature-list li {
  padding: 4px 0;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feature-list li::before {
  content: '\25B8';
  color: #f57c00;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.register-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1565c0;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  text-decoration: none;
}
.register-link::after {
  content: '\203A';
  font-size: 16px;
}
.register-link:hover {
  text-decoration: underline;
}

/* BOM Upload Section */
.bom-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.bom-section-header {
  background: #1565c0;
  color: #fff;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
}
.bom-section-body {
  padding: 24px;
}
.content-bom-form {
  display: block;
}
.bom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed #90bce8;
  border-radius: 6px;
  background: #f7fbff;
  padding: 40px 30px;
  text-align: center;
}
.upload-zone.drag-over {
  border-color: #1565c0;
  background: #e3f0ff;
}
.upload-zone h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}
.upload-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.upload-text {
  font-size: 13px;
  color: #666;
}
.upload-btn {
  background: #1565c0;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.upload-btn:hover {
  background: #0d47a1;
}
.upload-hint {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
.upload-hint a {
  color: #1565c0;
}
.bom-section #fileName {
  font-size: 13px;
  color: #1565c0;
  font-weight: 600;
  margin-top: 8px;
}

/* BOM Info */
.bom-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.bom-info p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}
.bom-steps h5 {
  float: none;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.bom-steps ol {
  padding-left: 18px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.bom-steps ol li {
  margin-bottom: 6px;
}
.bom-steps a {
  color: #1565c0;
}

/* Instruction File Upload */
.instruction-upload-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.instruction-upload-section .instruction-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}
.instruction-upload-section .instruction-label svg {
  flex-shrink: 0;
}
.instruction-hint {
  font-size: 12px;
  color: #888;
}
#instructionFileName {
  font-size: 13px;
  color: #1565c0;
  font-weight: 600;
  margin-top: 8px;
}

/* Contact Information Section */
.contact-information-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}
.contact-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-info-header svg {
  color: #666;
}
.contact-info-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.contact-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form-grid .form-group.full-width {
  grid-column: 1 / -1;
}
.contact-form-grid .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.contact-form-grid .form-group label .required {
  color: #c00;
}
.contact-form-grid .form-group input,
.contact-form-grid .form-group textarea {
  border: 1px solid #c4d4e4;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: #333;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  max-width: inherit;
}
.contact-form-grid .form-group input:focus,
.contact-form-grid .form-group textarea:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}
.contact-form-grid .form-group input::placeholder,
.contact-form-grid .form-group textarea::placeholder {
  color: #999;
}
.contact-form-grid .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Email Input */
.email-input-group {
  margin-top: 20px;
}
.email-input-group .content-bom-form-upload-input {
  width: 100%;
  height: 45px;
  padding-left: 20px;
  border-radius: 6px;
  box-shadow: 0 -1px 20px -9px rgba(0,0,0,0.3);
  border: 1px solid #e5e5e5;
}

/* Account Banner */
.account-banner {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.account-banner svg {
  flex-shrink: 0;
}
.account-banner p {
  font-size: 13px;
  color: #555;
  margin: 0;
}
.account-banner strong {
  color: #333;
}
.account-banner a {
  color: #1565c0;
  text-decoration: none;
}
.account-banner a:hover {
  text-decoration: underline;
}

/* Submit Row */
.submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}
.required-note {
  font-size: 12px;
  color: #c00;
}
.submit-btn {
  background: #f57c00;
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.submit-btn:hover {
  background: #e65100;
}

/* Main BOM Page (for results table) */
.main-bom-page {
  display: none;
}
.main-bom-page .container {
  width: 100%;
  margin: 20px;
  padding: 10px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.main-bom-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.main-bom-page th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}
.main-bom-page th {
  background-color: #0099cc;
  color: white;
}
.main-bom-page input {
  width: 100%;
  padding: 6px;
  position: initial;
  border: 1px solid #ddd;
}
.main-bom-page .editing {
  background-color: #f8fff8;
}
.main-bom-page .action-btns {
  display: flex;
  gap: 5px;
}
.main-bom-page button {
  padding: 6px 12px;
  background-color: #0099cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.main-bom-page button.cancel {
  background-color: #ff4444;
}
.main-bom-page .save {
  display: flex;
  justify-content: end;
  flex-direction: column;
  align-items: end;
}
.main-bom-page .save input {
  margin-top: 15px;
  height: 45px;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  width: 200px;
}
.main-bom-page .save button {
  margin-top: 15px;
  padding: 12px;
  width: 200px;
}

/* Responsive */
@media (max-width: 900px) {
  .bom-grid {
    grid-template-columns: 1fr;
  }
  .main-content {
    width: 100%;
  }
  .page-wrapper {
    padding: 0 15px 50px;
  }
  .hero-banner {
    padding: 20px;
  }
}

.page-wrapper-new {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 20px;
}

.hero-banner-new {
  background: linear-gradient(90deg, #e3f0ff 0%, #f0f7ff 60%, #c8e0ff 100%);
  border-radius: 6px;
  padding: 14px 24px;
  margin: 10px 0 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.hero-banner-new .hero-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 6px;
}

.hero-banner-new .hero-text p {
  font-size: 13px;
  color: #444;
  max-width: 500px;
}

.info-sections-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.info-card-new {
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 5px;
  padding: 14px 16px;
}

.info-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.upload-card-new {
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 5px;
  padding: 14px 16px;
}

.upload-card-new h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-new h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-new p {
  color: #555;
  line-height: 1.6;
  font-size: 12.5px;
}

.info-card-new ul {
  list-style: none;
  margin-top: 8px;
}

.info-card-new ul li {
  padding: 2px 0;
  font-size: 12.5px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.form-card-new {
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 5px;
  overflow: hidden;
}

.form-card-header-new {
  background: #1565c0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-card-header-new svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.form-card-body-new {
  padding: 14px 16px 18px;
}

.required-hint-new {
  text-align: right;
  font-size: 11.5px;
  color: #c00;
  margin-bottom: 12px;
}

.form-cols-new {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}

.upload-section-new p {
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
}

.upload-box-new {
  border: 1.5px dashed #90bce8;
  border-radius: 4px;
  background: #f7fbff;
  padding: 12px 14px 10px;
  margin-bottom: 10px;
}

.upload-box-new label {
  font-weight: 700;
  font-size: 13px;
  color: #333;
  display: block;
  margin-bottom: 0px;
}

.upload-box-new .file-hint {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.upload-input-row-new {
  display: flex;
  align-items: center;
  gap: 0;
}

.upload-input-row-new .file-btn {
  background: #e8e8e8;
  border: 1px solid #bbb;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px 0 0 3px;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.upload-input-row-new input[type="file"] {
  display: none;
}

.upload-input-row-new .file-name {
  flex: 1;
  border: 1px solid #bbb;
  border-left: none;
  padding: 5px 10px;
  font-size: 12px;
  color: #888;
  border-radius: 0 3px 3px 0;
  background: #fff;
}

.template-links-new {
  margin-top: 8px;
}

.template-links-new p {
  font-size: 12.5px;
  color: #555;
  margin-bottom: 4px;
}

.template-links-new a {
  display: block;
  font-size: 12px;
  color: #1565c0;
  margin-bottom: 2px;
}

.table-hint-new {
  font-size: 12.5px;
  color: #555;
  margin: 10px 0 6px;
}

.parts-table-new {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.parts-table-new th {
  background: #1565c0;
  color: #fff;
  padding: 7px 8px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #1256a8;
  white-space: nowrap;
}

.parts-table-new th.col-no-header {
  width: 28px;
}

.parts-table-new th.col-qty {
  width: 70px;
}

.parts-table-new th.col-price {
  width: 110px;
}

.parts-table-new th .select-all-checkbox {
  margin-right: 5px;
}

.parts-table-new td {
  padding: 0;
  border: 1px solid #d8e4ef;
  background: #fff;
}

.parts-table-new td.col-no {
  width: 28px;
  text-align: center;
  color: #999;
  font-size: 11px;
  padding: 6px 4px;
}

.parts-table-new td input[type="text"] {
  width: 100%;
  border: none;
  outline: none;
  padding: 6px 8px;
  font-size: 12.5px;
  background: transparent;
}

.parts-table-new td input[type="text"]:focus {
  background: #e8f4ff;
}

.parts-table-new td .row-checkbox {
  margin-right: 5px;
}

.parts-table-new tr:nth-child(even) td {
  background: #f5f9ff;
}

.add-lines-btn-new {
  background: #e8e8e8;
  border: 1px solid #bbb;
  padding: 5px 14px;
  font-size: 12.5px;
  border-radius: 3px;
  cursor: pointer;
  color: #333;
  font-weight: 600;
}

.add-lines-btn-new:hover {
  background: #ddd;
}

.btn-row-new {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group-new {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group-new label {
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
}

.form-group-new input[type="text"],
.form-group-new input[type="email"],
.form-group-new input[type="tel"],
.form-group-new select,
.form-group-new textarea {
  border: 1px solid #c4d4e4;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.form-group-new input:focus,
.form-group-new select:focus,
.form-group-new textarea:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.12);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
  color: #aaa;
}

.form-group-new input.readonly {
  background: #f5f5f5;
}

.form-group-new textarea {
  resize: vertical;
  min-height: 64px;
}

.phone-row-new {
  display: flex;
  gap: 6px;
  width: 100%;
}

.phone-country-code-new {
  flex: 1;
  min-width: 80px;
  border: 1px solid #c4d4e4;
  border-radius: 3px;
  padding: 6px 4px;
  font-size: 12.5px;
  color: #333;
  background: #fff;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}

.phone-number-new {
  flex: 2;
  border: 1px solid #c4d4e4;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: #333;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.submit-row-new {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.submit-btn-new {
  background: #f57c00;
  color: #fff;
  border: none;
  padding: 9px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.submit-btn-new:hover {
  background: #e65100;
}

@media (max-width: 780px) {
  .form-cols-new {
    grid-template-columns: 1fr;
  }
  .info-sections-new {
    grid-template-columns: 1fr;
  }
  .info-cards-row {
    grid-template-columns: 1fr;
  }
}

.contact-information-section-new {
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 5px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.contact-info-header-new {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-info-header-new svg {
  color: #1565c0;
}

.contact-info-header-new h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.contact-form-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-grid-new .form-group-new {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-grid-new .form-group-new.full-width-new {
  grid-column: 1 / -1;
}

.contact-form-grid-new .form-group-new label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.contact-form-grid-new .form-group-new label .required {
  color: #c00;
}

.contact-form-grid-new .form-group-new input,
.contact-form-grid-new .form-group-new textarea {
  border: 1px solid #c4d4e4;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: #333;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-grid-new .form-group-new input:focus,
.contact-form-grid-new .form-group-new textarea:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.contact-form-grid-new .form-group-new input::placeholder,
.contact-form-grid-new .form-group-new textarea::placeholder {
  color: #999;
}

.contact-form-grid-new .form-group-new textarea {
  resize: vertical;
  min-height: 80px;
}

.instruction-upload-section-new {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instruction-upload-section-new .instruction-label-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.instruction-upload-section-new input[type="file"] {
  display: none;
}

.instruction-hint-new {
  font-size: 12px;
  color: #888;
}

.submit-row-new-alt {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.required-note-new {
  font-size: 12px;
  color: #c00;
}

.submit-btn-new-alt {
  background: #f57c00;
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.submit-btn-new-alt:hover {
  background: #e65100;
}

@media (max-width: 600px) {
  .contact-form-grid-new {
    grid-template-columns: 1fr;
  }
}


.am-form-popup-fixed, form.am-form-popup-sticky{
  background: none;
}