/* Dwaraka Synergy Solutions -DSS application typography: keep every UI surface on one family. */
body,
h1, h2, h3, h4, h5, h6,
p, a, small, label,
button, input, select, textarea,
.btn, .form-control, .form-select, .form-check-label,
.card-title, .logo span,
.table, .table th, .table td,
.alert, .badge, .dropdown-item, .nav-link {
  font-family: "Poppins", sans-serif;
}

.section.register {
  min-height: 100vh;
  padding: 28px 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}
.section.register > .container {
  width: min(100%, 1180px);
}
.auth-panel,
.technical-register-wrap {
  padding: 0 12px;
}
.auth-logo-wrap {
  padding: 10px 0 22px;
}
.header .logo img {
  max-height: 100px;
  width: 150px;
  object-fit: contain;
  object-position: left center;
}
.section.register .logo {
  width: auto;
  padding: 6px 10px;
}
.section.register .logo img {
  max-height: 58px;
  width: 190px;
  object-fit: contain;
}
.section.register .logo span {
  color: #073b7a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}
.section.register .auth-card,
.section.register .technical-register-card {
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(20, 46, 82, .09);
  background: #fff;
}
.section.register .auth-card .card-body {
  padding: 38px 40px 28px;
}
.auth-card-heading {
  margin-bottom: 26px;
}
.auth-card-heading .card-title {
  padding: 0;
  margin: 0 0 8px;
  color: #073b7a;
  font-size: 24px !important;
  font-weight: 700;
  letter-spacing: 0;
}
.auth-card-heading p {
  margin: 0;
  color: #637083;
  font-size: 13px;
  line-height: 1.6;
}
.section.register .auth-form {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 18px;
}
.section.register .form-label {
  margin-bottom: 7px;
  color: #202d3d;
  font-size: 13px;
  font-weight: 600;
}
.section.register .form-control,
.section.register .form-select {
  min-height: 46px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  color: #172033;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.section.register .form-control:hover,
.section.register .form-select:hover {
  border-color: #b8c5d6;
}
.section.register .form-control:focus,
.section.register .form-select:focus {
  border-color: #1b6eea;
  box-shadow: 0 0 0 3px rgba(27, 110, 234, .11);
}
.section.register .form-control::placeholder {
  color: #8b97a8;
}
.section.register .form-text {
  margin-top: 7px;
  color: #6a7686;
  font-size: 12px;
  line-height: 1.55;
}
.section.register .input-group .form-control {
  border-radius: 7px 0 0 7px;
}
.section.register .input-group .btn {
  min-width: 48px;
  border-color: #cfd8e3;
  border-radius: 0 7px 7px 0;
  color: #536174;
  background: #fff;
}
.section.register .input-group .btn:hover,
.section.register .input-group .btn:focus {
  color: #073b7a;
  background: #f5f8fc;
  border-color: #b8c5d6;
}
.section.register .btn-primary,
.section.register .auth-submit {
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: #1469e8;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(20, 105, 232, .2);
}
.section.register .btn-primary:hover,
.section.register .auth-submit:hover {
  background: #0d5fd8;
}
.section.register .alert {
  border: 0;
  border-radius: 7px;
  padding: 12px 14px;
}
.section.register .invalid-feedback {
  margin-top: 6px;
  font-size: 12px;
}
.section.register .auth-links {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}
.section.register .auth-links p {
  color: #4d5a6c;
  font-size: 13px;
}
.section.register .auth-links a {
  font-weight: 600;
}

.profile-editor-main { padding-bottom: 32px; }
.profile-editor { background: #f8fbff; border: 1px solid #dce8f6; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 28px rgba(30, 75, 130, .07); }
.profile-editor-header { min-height: 78px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #edf7ff, #fffaf0); border-bottom: 1px solid #dce8f6; }
.profile-editor-header h1 { color: #0c448d; font-size: 25px; font-weight: 600; margin: 0; }
.profile-editor-header p { color: #6d7d91; font-size: 13px; margin: 3px 0 0; }
.profile-close { color: #7b7b7b; font-size: 18px; padding: 8px; }
.profile-editor-body { padding: 28px 24px 10px; }
.profile-section { margin-bottom: 34px; }
.profile-section h2 { display: flex; align-items: center; gap: 14px; color: #003b82; font-size: 18px; font-weight: 600; letter-spacing: .2px; margin: 0 0 22px; text-transform: uppercase; }
.profile-section h2 span { width: 11px; height: 32px; border-radius: 8px; background: #4454ff; display: inline-block; }
.profile-section .form-label { color: #253650; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.profile-section .form-control, .profile-section .form-select, .profile-section .input-group .btn { min-height: 54px; border-color: #cfe0f2; border-radius: 14px; background-color: #fff; font-size: 16px; }
.profile-section .form-control:focus, .profile-section .form-select:focus { border-color: #4a69ff; box-shadow: 0 0 0 .2rem rgba(74, 105, 255, .12); }
.profile-section .form-control[readonly] { background: #eef4fa; color: #65758a; }
.profile-section .input-group .form-control { border-radius: 14px 0 0 14px; }
.profile-section .input-group .btn { min-width: 52px; border-radius: 0 14px 14px 0; }
.profile-photo-control { min-height: 76px; display: flex; align-items: center; gap: 13px; }
.profile-photo-control img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #e0eaff; }
.profile-photo-control strong, .profile-photo-control small { display: block; }
.profile-photo-control small, .section-note { color: #748297; font-size: 12px; }
.profile-editor-actions { position: sticky; bottom: 0; z-index: 5; padding: 16px 24px; display: flex; justify-content: flex-end; gap: 10px; background: rgba(255,255,255,.96); border-top: 1px solid #dce8f6; backdrop-filter: blur(8px); }
.profile-editor-actions .btn { border: 0; border-radius: 14px; font-size: 16px; font-weight: 600; min-width: 120px; padding: 12px 20px; }
.profile-editor-actions .btn-primary { background: #1266db; }
@media (max-width: 767px) {
  .profile-editor-header, .profile-editor-body, .profile-editor-actions { padding-left: 16px; padding-right: 16px; }
  .profile-editor-header p { display: none; }
  .profile-section h2 { font-size: 15px; }
}

.technical-register-wrap { max-width: 1160px; }
.technical-register-card { overflow: hidden; }
.technical-register-heading { padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; background: #f8fafc; border-bottom: 1px solid #d9e3ef; }
.technical-register-heading h4 { color: #073b7a; font-weight: 700; margin: 0 0 4px; letter-spacing: 0; }
.technical-register-heading p { color: #637083; font-size: 13px; }
.technical-register-heading .badge { color: #fff; background: #1469e8; border-radius: 7px; padding: 8px 12px; }
.technical-stepper { padding: 24px 32px 8px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.technical-stepper::before { content: ""; position: absolute; left: 17%; right: 17%; top: 41px; height: 2px; background: #d9e3ef; }
.technical-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; color: #8b98aa; }
.technical-step span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e9eef5; border: 3px solid #fff; font-weight: 700; }
.technical-step.active { color: #1469e8; }
.technical-step.active span { color: #fff; background: #1469e8; }
.technical-step small { font-weight: 600; }
.technical-form-body { padding: 26px 32px 34px; }
.technical-section-title { display: flex; align-items: center; gap: 10px; color: #073b7a; font-size: 15px; font-weight: 700; text-transform: uppercase; margin: 0 0 22px; letter-spacing: .02em; }
.technical-section-title span { width: 4px; height: 22px; border-radius: 4px; background: #1469e8; }
.technical-step-form .row { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
.technical-form-actions { padding: 16px 32px; border-top: 1px solid #d9e3ef; display: flex; justify-content: flex-end; gap: 10px; background: #f8fafc; }
.technical-form-actions .btn { min-width: 120px; border-radius: 7px; padding: 11px 18px; font-weight: 700; }
.technical-document-preview-wrap { width: min(100%, 560px); margin: 0 auto; padding: 12px; border: 1px solid #d6e3f2; border-radius: 14px; background: #f7faff; }
.technical-document-preview-label { display: block; margin-bottom: 8px; color: #52657d; font-size: 13px; font-weight: 600; text-align: left; }
.technical-document-preview { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 9px; background: #fff; }
.service-area-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #cfe0f2; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(28, 69, 120, .16); }
.service-area-result { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #253650; text-align: left; }
.service-area-result:hover, .service-area-result:focus { background: #eef6ff; outline: 0; }
.service-area-result strong, .service-area-result small { display: block; }
.service-area-result small { color: #6e7f94; font-size: 12px; margin-top: 2px; }
.service-area-selected .badge { max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; }
.service-area-selected .btn-close { width: .65em; height: .65em; vertical-align: middle; }
.company-master-card {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(19, 39, 67, .06);
}
.company-master-card .card-body {
  padding: 18px;
}
.company-master-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.company-master-toolbar .card-title {
  padding: 0;
  color: #12223a;
  font-size: 16px;
  font-weight: 700;
}
.company-master-table-wrap {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}
.company-master-table {
  min-width: 1160px;
  color: #1f2a3d;
  font-size: 12px;
}
.company-master-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  border-bottom: 1px solid #cfd9e6;
  color: #44546a;
  background: #f3f6fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}
.company-master-table tbody td {
  padding: 9px 12px;
  border-color: #edf1f6;
  vertical-align: middle;
  white-space: nowrap;
}
.company-master-table tbody tr:hover td {
  background: #f8fbff;
}
.company-master-table tbody tr.is-selected td {
  background: #eef6ff;
}
.company-master-table strong,
.company-master-table small {
  display: block;
}
.company-master-table strong {
  color: #12223a;
  font-size: 12px;
  font-weight: 700;
}
.company-master-table small {
  margin-top: 2px;
  color: #78869a;
  font-size: 10px;
}
.company-address-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-status {
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
}
.company-status.is-active {
  color: #087051;
  background: #e9f8f2;
}
.company-status.is-inactive {
  color: #b42336;
  background: #fff0f2;
}
.company-actions {
  min-width: 128px;
  white-space: nowrap;
}
.company-actions .btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
}
.product-uom-check {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
}
.product-uom-check .form-check-input {
  margin: 0;
}
.product-uom-check .form-check-label {
  color: #253650;
  font-size: 14px;
  font-weight: 600;
}
.invoice-lines-wrap {
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}
.invoice-lines-table {
  min-width: 1080px;
  background: #fff;
}
.invoice-lines-table th {
  padding: 10px 12px;
  color: #44546a;
  background: #f3f6fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}
.invoice-lines-table td {
  padding: 8px;
}
.invoice-lines-table .form-control {
  min-height: 38px;
  border-radius: 6px;
  font-size: 12px;
}
.invoice-product-combo {
  position: relative;
}
.invoice-product-menu {
  position: absolute;
  z-index: 3000;
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(28, 55, 90, .16);
}
.invoice-product-menu.is-floating {
  position: fixed;
}
.invoice-product-option {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #172033;
  text-align: left;
}
.invoice-product-option:hover,
.invoice-product-option:focus {
  background: #eef6ff;
  outline: 0;
}
.invoice-product-option strong,
.invoice-product-option small {
  display: block;
}
.invoice-product-option strong {
  font-size: 12px;
  font-weight: 800;
}
.invoice-product-option small {
  margin-top: 2px;
  color: #6b788c;
  font-size: 10px;
}
.invoice-product-option.is-empty {
  color: #7b8798;
  cursor: default;
}
.invoice-table-totals td {
  padding: 10px 12px;
  border-color: #dbe4ef;
  font-weight: 800;
  background: #fff;
}
.invoice-total-row td:first-child {
  text-align: right;
}
.invoice-total-row td[data-total-exclude] {
  color: #087051;
}
.invoice-gst-summary {
  width: min(100%, 420px);
  margin: 14px 0 0 auto;
  display: grid;
  gap: 8px;
}
.invoice-gst-summary div {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 12px;
}
.invoice-gst-summary span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.invoice-gst-summary strong {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.invoice-gst-summary strong.is-gst {
  color: #b42336;
  background: #fff0f2;
}
.invoice-gst-summary strong.is-grand {
  color: #0b55bd;
  background: #edf5ff;
}
.company-status.is-pending {
  color: #9a6700;
  background: #fff7df;
}
.invoice-status-select {
  width: 104px;
}
.gst-verify-panel {
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}
.gst-verify-status {
  margin-bottom: 12px;
  color: #536174;
  font-size: 12px;
  font-weight: 700;
}
.gst-verify-panel.is-loading .gst-verify-status {
  color: #0b63ce;
}
.gst-verify-panel.is-verified {
  border-color: #bce7d5;
  background: #f1fbf7;
}
.gst-verify-panel.is-verified .gst-verify-status {
  color: #087051;
}
.gst-verify-panel.is-error {
  border-color: #ffd0d6;
  background: #fff7f8;
}
.gst-verify-panel.is-error .gst-verify-status {
  color: #b42336;
}
.gst-verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gst-verify-grid div {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #e1e8f0;
  border-radius: 7px;
  background: #fff;
}
.gst-verify-grid span,
.gst-verify-grid strong {
  display: block;
}
.gst-verify-grid span {
  margin-bottom: 4px;
  color: #718096;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.gst-verify-grid strong {
  color: #172033;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .company-master-card .card-body {
    padding: 14px;
  }
  .company-master-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .company-master-toolbar .btn {
    width: 100%;
  }
  .gst-verify-grid {
    grid-template-columns: 1fr;
  }
}
.equipment-verify-page {
  --verify-ink: #172033;
  --verify-muted: #64748b;
  --verify-line: #dbe5f0;
  --verify-soft: #f6f9fc;
  --verify-blue: #1469e8;
  --verify-navy: #0b2f5f;
  --verify-green: #0f8f68;
  --verify-red: #c33b45;
}
.equipment-verify-page .card {
  border: 1px solid var(--verify-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 40, 70, .07);
}
.equipment-verify-page .card-body {
  padding: 26px;
}
.verify-search-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.verify-card-heading,
.verify-result-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.verify-card-heading {
  justify-content: flex-start;
}
.verify-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--verify-blue), var(--verify-navy));
  box-shadow: 0 12px 26px rgba(20, 105, 232, .22);
}
.equipment-verify-page .card-title {
  color: var(--verify-ink);
  font-weight: 700;
  letter-spacing: 0;
}
.equipment-verify-page .form-control {
  border-color: #cfd9e6;
  border-radius: 10px;
}
.equipment-verify-page .form-control:focus {
  border-color: var(--verify-blue);
  box-shadow: 0 0 0 .18rem rgba(20, 105, 232, .12);
}
.equipment-verify-page .btn-primary {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--verify-blue), #0b55bd);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20, 105, 232, .22);
}
.verify-result-card {
  overflow: hidden;
}
.verify-result-title {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--verify-line);
}
.verify-result-title span {
  display: block;
  color: var(--verify-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.verify-status {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}
.verify-status.is-ok {
  color: var(--verify-green);
  background: rgba(15, 143, 104, .1);
}
.verify-status.is-danger {
  color: var(--verify-red);
  background: rgba(195, 59, 69, .1);
}
.verify-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.verify-summary div {
  padding: 14px 16px;
  border: 1px solid var(--verify-line);
  border-radius: 12px;
  background: var(--verify-soft);
}
.verify-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--verify-muted);
  font-size: 12px;
  font-weight: 700;
}
.verify-summary strong {
  display: block;
  color: var(--verify-ink);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.equipment-result-table {
  border-color: var(--verify-line);
  margin-bottom: 0;
}
.equipment-result-table th {
  width: 230px;
  color: #31445f;
  background: #eef4fb;
  font-weight: 700;
}
.equipment-result-table td {
  color: var(--verify-ink);
  background: #fff;
  font-weight: 500;
}
.equipment-result-table th,
.equipment-result-table td {
  padding: 13px 16px;
  border-color: var(--verify-line);
}
@media (max-width: 576px) {
  .section.register { padding: 18px 0; }
  .section.register .auth-card .card-body { padding: 28px 18px 22px; }
  .auth-card-heading .card-title { font-size: 21px !important; }
  .technical-register-heading, .technical-form-body, .technical-form-actions { padding-left: 16px; padding-right: 16px; }
  .technical-register-heading p, .technical-step small { display: none; }
  .technical-form-actions { flex-direction: column-reverse; }
  .technical-form-actions .btn { width: 100%; }
  .equipment-verify-page .card-body { padding: 20px 16px; }
  .verify-card-heading,
  .verify-result-title { flex-direction: column; }
  .verify-summary { grid-template-columns: 1fr; }
  .verify-status { white-space: normal; }
  .equipment-result-table th,
  .equipment-result-table td {
    display: block;
    width: 100%;
  }
  .equipment-result-table th {
    border-bottom: 0;
  }
}
