/* common css start */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  font-family: "Roboto Slab", serif;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  vertical-align: middle;
}

/* common css end */

/* navbar */
.login-btn {
  background-color: red;
  color: white;
  padding: 0px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.login-btn a {
  color: white;
  font-weight: 600;
}

.navbar {
  background-color: steelblue;
}

.nav-link {
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:focus,
.nav-link:hover {
  color: white;
}

.navbar-brand {
  color: white;
  font-weight: 600;
}

.navbar-brand:hover {
  color: white;
}
/* navbar */

/* dashboard */
:root {
  --qt-blue: #3498db;
  --qt-dark: #333;
  --qt-border: #e0e0e0;
}

/* Dashboard Item Styling */
.quicktech-dash-item {
  text-decoration: none !important;
  display: block;
  height: 100%;
}

.quicktech-dash-inner {
  background: #ffffff;
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  padding: 35px 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quicktech-dash-inner:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: var(--qt-blue);
}

/* Icon Styles */
.quicktech-dash-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  display: block;
}

/* Label Styles */
.quicktech-dash-label {
  color: #2c3e50;
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  padding-bottom: 4px;
  /* Matches the blue line effect in your image */
  border-bottom: 2px solid var(--qt-blue);
  display: inline-block;
  transition: color 0.3s ease;
}

.quicktech-dash-inner:hover .quicktech-dash-label {
  color: var(--qt-blue);
}

/* Custom Icon Colors */
.text-blue {
  color: #3498db;
}
.text-orange {
  color: #f39c12;
}
.text-dark {
  color: #2c3e50;
}
.text-red {
  color: #e74c3c;
}

/* dashboard */

/* tracebility */

/* Header Styling */
.quicktech-trace-header {
  background: #1a237e;
  color: white;
  padding: 40px 20px 60px 20px;
}

.quicktech-trace-title {
  font-weight: 600;
  margin: 0;
}

/* Filter Card */
.quicktech-trace-filter-card {
  background: #fff;
  border-radius: 8px;
  margin: -30px 20px 20px 20px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.quicktech-trace-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
}

/* Table Container */
.quicktech-trace-table-container {
  margin: 0 20px 40px 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Custom scrollbar for the table wrapper */
.quicktech-trace-table-wrapper {
  overflow-x: auto;
  position: relative;
}

/* Bootstrap Table Overrides */
.table.quicktech-trace-table {
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 0.88rem;
}

.quicktech-trace-table thead th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  vertical-align: middle;
  border-top: none;
  padding: 12px 15px;
}

.quicktech-trace-table tbody td {
  vertical-align: middle;
  color: #555;
  padding: 10px 15px;
}

/* Search Button */
.btn-quicktech-search {
  background-color: #3f51b5;
  color: white;
  font-weight: 600;
  width: 100%;
}

.btn-quicktech-search:hover {
  background-color: #303f9f;
  color: white;
}

/* Status Badge */
.badge-status {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
}

/* tracebility */

/* ewceive sample */
/* Header with Background Image */
.quicktech-sewing-header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  background-position: center;
  padding: 40px 25px 80px 25px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quicktech-sewing-title {
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Filter Section */
.quicktech-sewing-filter-container {
  background: #ffffff;
  margin: -40px 20px 20px 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 5;
}

.quicktech-sewing-input {
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.quicktech-sewing-btn-search {
  background-color: #4e73df;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.quicktech-sewing-btn-reset {
  background-color: #d1d3e2;
  color: #2e3750;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 600;
}

/* Table Section */
.quicktech-sewing-table-card {
  margin: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f9;
}

.quicktech-sewing-table-wrapper {
  overflow-x: auto;
}

.table.quicktech-sewing-table {
  margin-bottom: 0;
  white-space: nowrap;
}

.quicktech-sewing-table thead th {
  background-color: #ffffff;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px;
  border-bottom: 2px solid #f1f4f8;
  letter-spacing: 0.5px;
}

.quicktech-sewing-table tbody td {
  padding: 15px;
  font-size: 0.88rem;
  color: #5a5c69;
  vertical-align: middle;
}

.quicktech-sewing-no-data {
  text-align: center;
  padding: 60px !important;
  color: #b7b9cc;
  font-style: italic;
  font-size: 1rem;
}

/* Buttons in Header */
.btn-print {
  background-color: #2e59d9;
  color: white;
  border-radius: 6px;
  padding: 8px 20px;
}

/* receive sample */

/* Styling to make the table look even cleaner */
.quicktech-sewing-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

.quicktech-sewing-table .badge {
  font-weight: 500;
  padding: 5px 10px;
}

.quicktech-sewing-table .btn-group .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.quicktech-sewing-table strong {
  color: #1a237e;
}

/* sewing sample */

/* Container Card */
.quicktech-see-container {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Action & Search Bar Area */
.quicktech-see-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quicktech-see-btn-print {
  background-color: #3b71ca;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
}

.quicktech-see-btn-add {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
}

.quicktech-see-search-box {
  flex-grow: 1;
  position: relative;
}

.quicktech-see-input {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
}

.quicktech-see-btn-search {
  background-color: #5145e5;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
}

.quicktech-see-btn-reset {
  background-color: #e3e6f0;
  color: #333;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
}

/* Table Styling */
.quicktech-see-table-wrapper {
  overflow-x: auto;
}

.table.quicktech-see-table {
  border: 1px solid #000;
  margin-top: 10px;
}

.quicktech-see-table thead th {
  background-color: #f8f9fa;
  border: 1px solid #000;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px;
  vertical-align: middle;
}

.quicktech-see-table tbody td {
  border: 1px solid #000;
  font-size: 0.85rem;
  padding: 10px;
  vertical-align: middle;
}

/* Action Buttons inside Table */
.quicktech-see-action-edit {
  background-color: #5145e5;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 5px;
}

.quicktech-see-action-receive {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}
/* Styling for the Modal Form Fields */
.quicktech-see-modal-label {
  font-weight: 600;
  color: #14a44d;
  font-size: 0.85rem;
  margin-bottom: 5px;
  display: block;
}

.quicktech-see-modal-input {
  border-radius: 4px;
  border: 1px solid #ced4da;
  font-size: 0.9rem;
}

.quicktech-see-modal-input:focus {
  border-color: #14a44d;
  box-shadow: 0 0 0 0.2rem rgba(20, 164, 77, 0.25);
}

.modal-header .btn-close:focus {
  box-shadow: none;
}
/* sewing sample */

/* sand sample */
/* Header Section with Background Image */
.quicktech-sand-header {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  background-size: cover;
  background-position: center;
  padding: 40px 25px 90px 25px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quicktech-sand-title {
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.quicktech-sand-btn-print {
  background-color: #3b71ca;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
}

/* Filter Section */
.quicktech-sand-filter-card {
  background: #ffffff;
  margin: -50px 20px 20px 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.quicktech-sand-input {
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.quicktech-sand-btn-search {
  background-color: #5145e5;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 600;
}

.quicktech-sand-btn-reset {
  background-color: #d1d5db;
  color: #374151;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 600;
}

/* Table Section */
.quicktech-sand-table-container {
  margin: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quicktech-sand-table-wrapper {
  overflow-x: auto;
}

.table.quicktech-sand-table {
  white-space: nowrap;
  margin-bottom: 0;
}

.quicktech-sand-table thead th {
  background-color: #ffffff;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 15px;
  border-bottom: 2px solid #f3f4f6;
  letter-spacing: 0.5px;
}

.quicktech-sand-table tbody td {
  padding: 15px;
  font-size: 0.9rem;
  color: #1f2937;
  vertical-align: middle;
  border-bottom: 1px solid #f3f4f6;
}

.quicktech-sand-link-edit {
  color: #5145e5;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

/* Styling for Sand Sample Modal specifically */
.quicktech-sand-modal-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.quicktech-sand-modal-input {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  background-color: #f9fafb;
}

.quicktech-sand-modal-input:focus {
  border-color: #5145e5;
  box-shadow: 0 0 0 0.2rem rgba(81, 69, 229, 0.1);
  background-color: #fff;
}

/* sand sample */

/* finishing sample */
/* Toolbar Section */
.quicktech-finishing-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.quicktech-finishing-btn-print {
  background-color: #00cae3;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.quicktech-finishing-btn-add {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

/* Table Section */
.quicktech-finishing-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.quicktech-finishing-table-wrapper {
  overflow-x: auto;
}

.table.quicktech-finishing-table {
  margin-bottom: 0;
  border-collapse: collapse;
}

.quicktech-finishing-table thead th {
  background-color: #f8f9fa;
  color: #333;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.quicktech-finishing-table tbody td {
  padding: 12px;
  font-size: 0.85rem;
  border: 1px solid #dee2e6;
  vertical-align: middle;
  color: #555;
}

.quicktech-finishing-no-data {
  text-align: center;
  padding: 40px !important;
  color: #999;
  font-style: italic;
}

/* Modal Specifics */
.quicktech-finishing-modal-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 5px;
  display: block;
}

/* finishing sample */

/* process moni */
/* Toolbar Section */
.quicktech-process-moni-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #edf2f7;
}

.quicktech-process-moni-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.quicktech-process-moni-actions {
  display: flex;
  gap: 10px;
}

.quicktech-process-moni-search-input {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  width: 250px;
  font-size: 0.9rem;
}

.quicktech-process-moni-btn-add {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 7px 15px;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.quicktech-process-moni-btn-add:hover {
  background-color: #118d41;
  color: white;
}

/* Table Section */
.quicktech-process-moni-card {
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.quicktech-process-moni-table-wrapper {
  overflow-x: auto;
}

.table.quicktech-process-moni-table {
  margin-bottom: 0;
  width: 100%;
}

.quicktech-process-moni-table thead th {
  background-color: #f8fafc;
  color: #4a5568;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px;
  border-bottom: 2px solid #edf2f7;
  white-space: nowrap;
}

.quicktech-process-moni-table tbody td {
  padding: 12px 15px;
  font-size: 0.9rem;
  color: #1a202c;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

/* Action Buttons */
.quicktech-process-moni-btn-edit {
  background-color: #5145e5;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.quicktech-process-moni-btn-print {
  background-color: #3b71ca;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.quicktech-process-moni-btn-delete {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* process moni */

.quicktech-process-moni-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 4px;
}
.modal-body label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 3px;
}
.card h6 {
  color: #5145e5;
  border-left: 3px solid #5145e5;
  padding-left: 10px;
}

/* inspection reprot */
/* Header & Toolbar */
.quicktech-inspection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.quicktech-inspection-title {
  color: #0000ff; /* Blue color from image */
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.quicktech-inspection-btn-add {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Search Bar */
.quicktech-inspection-search-container {
  margin-bottom: 20px;
}

.quicktech-inspection-search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Table Styling */
.quicktech-inspection-table-card {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.table.quicktech-inspection-table {
  margin-bottom: 0;
  border-collapse: collapse;
}

.quicktech-inspection-table thead th {
  background-color: #212529; /* Dark header from image */
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 12px;
  border: 1px solid #373b3e;
  white-space: nowrap;
}

.quicktech-inspection-table tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
}

/* Status Badge */
.quicktech-inspection-badge-running {
  background-color: #0d6efd;
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Action Buttons */
.quicktech-inspection-action-btn {
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 2px;
}
.navbar-nav {
  align-items: center;
}
.btn-view {
  background-color: #0d6efd;
}
.btn-edit {
  background-color: #ffc107;
  color: #000;
}
.btn-delete {
  background-color: #dc3545;
}

.quicktech-inspection-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 3px;
}
.form-control,
.form-select {
  border-radius: 4px;
  font-size: 0.9rem;
}
.form-check-label {
  font-size: 0.85rem;
  font-weight: 500;
}
/* inspection report */

/* pp meeting */

/* Top Toolbar Section */
.quicktech-pp-meeting-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 15px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quicktech-pp-meeting-search {
  width: 300px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.9rem;
}

.quicktech-pp-meeting-btn-add {
  background-color: #14a44d; /* Green color from */
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: opacity 0.2s;
}

/* Table Container */
.quicktech-pp-meeting-container {
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.quicktech-pp-meeting-table {
  margin-bottom: 0;
  width: 100%;
}

.quicktech-pp-meeting-table thead th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: capitalize;
  padding: 15px 10px;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
}

.quicktech-pp-meeting-table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  border-bottom: 1px solid #eee;
}

/* Action Buttons Styling */
.quicktech-pp-meeting-btn-action {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 0 2px;
  border: none;
  color: white !important;
}

.quicktech-pp-meeting-btn-edit {
  background-color: #5d51e8;
} /* Purple */
.quicktech-pp-meeting-btn-print {
  background-color: #2b63eb;
} /* Blue */
.quicktech-pp-meeting-btn-delete {
  background-color: #dc3545;
} /* Red */

.quicktech-pp-meeting-btn-action:hover {
  opacity: 0.85;
}
.quicktech-pp-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  display: block;
}
.form-control,
.form-select {
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid #ced4da;
}
.card-header {
  font-size: 0.85rem;
  border-bottom: 1px solid #f0f0f0;
}
/* pp meeting */

/* dhu report */

/* Toolbar Styling */
.quikctech-dhu-report-toolbar {
  background: white;
  padding: 15px;
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quikctech-dhu-report-input {
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.9rem;
}

.quikctech-dhu-report-btn-search {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 6px 18px;
  border-radius: 4px;
}

.quikctech-dhu-report-btn-prev {
  background-color: white;
  border: 1px solid #333;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}

.quikctech-dhu-report-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.quikctech-dhu-report-btn-add {
  background-color: #14a44d;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
}
.quikctech-dhu-report-btn-print {
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
}

/* Table Styling */
.quikctech-dhu-report-container {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  overflow-x: auto;
}

.quikctech-dhu-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem; /* Small font to fit many columns */
  text-align: center;
}

.quikctech-dhu-report-table thead th {
  background-color: #d1e7dd; /* Light green header from image */
  color: #000;
  font-weight: 700;
  padding: 10px 4px;
  border: 1px solid #adb5bd;
  text-transform: uppercase;
  vertical-align: middle;
}

.quikctech-dhu-report-table tbody td {
  padding: 8px 4px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.quikctech-dhu-report-total-row {
  background-color: #f8f9fa;
  font-weight: 800;
}

.quikctech-dhu-report-total-label {
  text-align: center;
  letter-spacing: 2px;
}

.quikctech-dhu-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #198754; /* Green color from image labels */
  margin-bottom: 5px;
  display: block;
}
.form-control,
.form-select {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.form-control:focus {
  border-color: #14a44d;
  box-shadow: 0 0 0 0.25rem rgba(20, 164, 77, 0.25);
}
.modal-xl {
  max-width: 1200px;
}

/* dhu report */

/* sewing dhu */
/* Report Header */
.quicktech-sewing-dhu-header {
  text-align: center;
  margin-bottom: 25px;
}
.quicktech-sewing-dhu-header h2 {
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0;
}
.quicktech-sewing-dhu-header p {
  color: #6c757d;
  margin-bottom: 5px;
}
.quicktech-sewing-dhu-header h4 {
  color: var(--sewing-green);
  font-weight: 700;
}

/* Toolbar */
.quicktech-sewing-dhu-toolbar {
  background: white;
  padding: 15px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  border: 1px solid #dee2e6;
  border-bottom: none;
}

/* Table Styling */
.quicktech-sewing-dhu-table-container {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  overflow-x: auto;
}
.quicktech-sewing-dhu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  text-align: center;
}
.quicktech-sewing-dhu-table thead th {
  background-color: var(--header-bg);
  padding: 12px 5px;
  border: 1px solid #adb5bd;
  font-weight: 700;
  white-space: nowrap;
}
.quicktech-sewing-dhu-table tbody td {
  padding: 10px 5px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}
.quicktech-sewing-dhu-footer {
  background-color: #f8f9fa;
  font-weight: 800;
}

/* Modal Customization */
.quicktech-sewing-dhu-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sewing-green);
  margin-bottom: 3px;
  display: block;
}
.quicktech-sewing-dhu-input-group {
  margin-bottom: 15px;
}

/* sewing dhu */

/* man power */
.quikctech-man-power .report-header h2 {
  font-weight: 700;
  margin-bottom: 5px;
}
.quikctech-man-power .report-header p {
  color: #666;
  margin-bottom: 20px;
}

/* Table Styling */
.quikctech-man-power .table-container {
  border: 1px solid #ddd;
}
.quikctech-man-power .table {
  margin-bottom: 0;
  font-size: 13px;
}
.quikctech-man-power .table thead th {
  background-color: #f8fafc;

  color: #333;
  font-weight: 600;
  text-align: center;
}
.quikctech-man-power .table tbody td {
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.quikctech-man-power .table .total-row {
  background-color: #f8f9fa;
  font-weight: bold;
}

/* Inputs & Buttons */
.quikctech-man-power .form-control {
  border-radius: 4px;
}
.quikctech-man-power .btn-search {
  background-color: #2e59d9;
  border: none;
  padding: 6px 30px;
}
.quikctech-man-power .btn-add {
  background-color: #198754;
  border: none;
}
.quikctech-man-power .btn-print {
  background-color: #5a5c69;
  border: none;
}
.quikctech-man-power .btn-edit {
  background-color: #4e73df;
  font-size: 11px;
  padding: 2px 8px;
}
.quikctech-man-power .btn-delete {
  background-color: #e74a3b;
  font-size: 11px;
  padding: 2px 8px;
}

/* man power */

/* Custom Styling to match your image exactly */
#addManpowerModal .form-control {
  border: 1px solid #ced4da;
  border-radius: 6px;
}
#addManpowerModal .form-label {
  font-size: 0.9rem;
}
#addManpowerModal .btn-success {
  background-color: #198754;
  border-color: #198754;
}
#addManpowerModal .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* user */

.quikctech-user .user-header {
  background-color: white;
  color: black;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px 4px 0 0;
}
.quikctech-user .user-header h4 {
  margin: 0;
  font-weight: 500;
  font-size: 1.5rem;
}
.quikctech-user .btn-add-user {
  background-color: #198754;
  color: white;
  font-weight: bold;
  border: none;
  padding: 6px 15px;
  border-radius: 6px;
}

/* Table Design */
.quikctech-user .table-container {
  background: white;
  padding: 15px;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}
.quikctech-user .table thead th {
  background-color: #dbe7ff;
  color: #333;
  font-weight: 700;
  border: 1px solid #dee2e6;
  text-align: center;
  vertical-align: middle;
  padding: 12px;
}
.quikctech-user .table tbody td {
  border: 1px solid #dee2e6;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

/* Profile Photo */
.quikctech-user .profile-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}

/* Password Input Style */
.quikctech-user .password-field {
  max-width: 250px;
  margin: 0 auto;
}
.quikctech-user .status-subtext {
  font-size: 11px;
  color: #888;
  display: block;
  margin-top: 2px;
}

/* Action Button */
.quikctech-user .btn-edit-action {
  background-color: #198754;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 4px;
}

/* Specific CSS to match the image precisely */
.quikctech-user .modal-header {
  background-color: #0d6efd !important;
  border-bottom: none;
}
.quikctech-user .form-label {
  margin-bottom: 4px;
  color: #555 !important;
}
.quikctech-user .form-control,
.quikctech-user .form-select {
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  padding: 8px 12px;
}
/* The yellow tint from your image (autofill/saved style) */
.quikctech-user .bg-warning-subtle {
  background-color: #fffde7 !important;
}
.quikctech-user .btn-success {
  background-color: #198754;
  border: none;
}
.quikctech-user .btn-secondary {
  background-color: #5a6268;
  border: none;
}

/* user */

/* setting */

.quikctech-setting {
  background-color: transparent;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2d3436;
  max-width: 1100px;
  margin: 0 auto;
}

.quikctech-setting h1 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 30px;
  color: #1e272e;
}

.quikctech-setting .form-label {
  font-weight: 500;
  color: #636e72;
  margin-bottom: 8px;
  font-size: 15px;
}

.quikctech-setting .form-control {
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  padding: 12px 15px;
  background-color: #ffffff;
  transition: border-color 0.2s;
}

.quikctech-setting .form-control:focus {
  box-shadow: none;
  border-color: #4834d4;
}

/* Checkbox styling */
.quikctech-setting .form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.25em;
  cursor: pointer;
}

.quikctech-setting .form-check-label {
  font-weight: 500;
  color: #636e72;
  padding-left: 5px;
  cursor: pointer;
}

/* Buttons */
.quikctech-setting .btn-save {
  background-color: #4834d4;
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(72, 52, 212, 0.2);
}

.quikctech-setting .btn-save:hover {
  background-color: #3c2bb3;
  color: white;
}

.quikctech-setting .btn-cancel {
  background-color: #d1d8e0;
  color: #4b6584;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
}

.quikctech-setting .btn-cancel:hover {
  background-color: #c0c9d1;
}

/* setting */

.quikctech-profile {
  max-width: 550px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.quikctech-profile h2 {
  font-weight: 700;
  color: #1e272e;
  text-align: center;
  margin-bottom: 30px;
}

/* Profile Image Styling */
.quikctech-profile .profile-wrapper {
  text-align: center;
  margin-bottom: 25px;
}

.quikctech-profile .profile-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

/* Form Styling */
.quikctech-profile .form-label {
  display: block;
  text-align: center;
  color: #636e72;
  font-size: 14px;
  margin-bottom: 8px;
}

.quikctech-profile .password-label {
  text-align: left; /* Password labels are left-aligned in the image */
  margin-top: 15px;
}

.quikctech-profile .form-control {
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  padding: 10px 15px;
  color: #2d3436;
}

.quikctech-profile .form-control:focus {
  box-shadow: none;
  border-color: #4834d4;
}

/* Button Styling */
.quikctech-profile .btn-update {
  background-color: #4834d4;
  color: white;
  border: none;
  padding: 10px 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.quikctech-profile .btn-update:hover {
  background-color: #3c2bb3;
  color: white;
}

.quikctech-profile .btn-cancel {
  background-color: #d1d8e0;
  color: #4b6584;
  border: none;
  padding: 10px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
}

.quikctech-profile .btn-cancel:hover {
  background-color: #c0c9d1;
}

/* login */

.quicktech-login .login-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  text-align: center;
}

.quicktech-login .welcome-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 5px;
}

.quicktech-login .login-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 30px;
}

.quicktech-login .form-label {
  color: #bdc3c7;
  font-size: 13px;
  display: block;
  text-align: left;
  margin-bottom: 5px;
}

.quicktech-login .input-group {
  background: #dbe2ef;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  border: none;
}

.quicktech-login .input-group-text {
  background: transparent;
  border: none;
  color: #2c3e50;
  padding-right: 5px;
}

.quicktech-login .form-control {
  background: transparent;
  border: none;
  padding: 12px;
  color: #2c3e50;
  font-weight: 500;
}

.quicktech-login .form-control:focus {
  box-shadow: none;
  background: transparent;
}

.quicktech-login .btn-login {
  background-color: #4834d4;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: 0.3s;
}

.quicktech-login .btn-login:hover {
  background-color: #3c2bb3;
  box-shadow: 0 0 15px rgba(72, 52, 212, 0.4);
}

.quicktech-login .eye-icon {
  cursor: pointer;
  color: #7f8c8d;
}

/* login */

.navbar-menu {
  border: none;
  background-color: transparent;
  font-size: 25px;
  color: white;
}

.navbar-menu {
  display: none;
}

.quicktech-ins.report-container {
  background: white;
  width: 100%;
  margin: 20px auto;
  padding: 30px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Header Elements */
.quicktech-ins.report-id {
  position: absolute;
  right: 30px;
  top: 30px;
  border: 2px solid #000;
  padding: 4px 8px;
  font-weight: bold;
}
.quicktech-ins.header-section {
  text-align: center;
  margin-bottom: 20px;
}
.quicktech-ins.header-section h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}
.quicktech-ins.header-section p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.quicktech-ins.header-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 1px;
}
.quicktech-ins.date-row {
  text-align: right;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Table Styling */
.quicktech-ins table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.quicktech-ins th,
.quicktech-ins td {
  border: 1px solid #000;
  padding: 4px 6px;
  vertical-align: middle;
}
.quicktech-ins .bg-grey {
  background-color: #f2f2f2;
  font-weight: bold;
  text-transform: uppercase;
}

/* AQL Table Specifics */
.quicktech-ins.aql-table th {
  text-align: center;
  font-size: 10px;
}
.quicktech-ins.aql-table td {
  text-align: center;
}

/* Accessories Check Icons */
.quicktech-ins.icon-check {
  color: green;
  font-weight: bold;
}
.quicktech-ins.icon-x {
  color: red;
  font-weight: bold;
}

/* Color Sections */
.quicktech-ins.result-bar {
  display: flex;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid #000;
}
.quicktech-ins.result-label {
  background-color: #6c757d;
  color: white;
  padding: 10px 40px;
  font-weight: bold;
  text-align: center;
  border-right: 1px solid #000;
}
.quicktech-ins.result-value {
  background-color: #f5a623;
  flex-grow: 1;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
}

.quicktech-ins.green-badge {
  background-color: #28a745;
  color: white;
  text-align: center;
  font-weight: bold;
}

/* Comments Box */
.quicktech-ins.comment-box {
  border: 1px solid #000;
  min-height: 40px;
  padding: 5px;
  margin-bottom: 20px;
}

/* Footer Headers */
.quicktech-ins.footer-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

.quicktech-ins.btn-group-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.swiperbanner {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.swiperbannerbottom {
  width: 100%;
  height: 255px;
  position: relative;
  overflow: hidden;
}

.quikctech-dash-slider {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.quikctech-dash-slider img {
  height: 100%;
}
.quicktech-dash-img-right img {
  height: 500px;
}

.gapp {
  row-gap: 20px;
}

.quicktech-form-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.quicktech-form-flex select {
  width: 200px;
}

#preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: steelblue;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensures it stays on top */
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

/* This class will be added via JS to hide it */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.progress-bar {
  width: 100%;
  height: 35px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #4df14d;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.3) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.3) 75%,
    transparent 75%,
    transparent
  );
  background-size: 30px 30px;
  animation: stripe-move 1s linear infinite;
  transition: width 0.2s ease;
}

@keyframes stripe-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 0;
  }
}

.loading-text {
  color: white;
  font-family: sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 5px;
  margin-top: 15px;
}

/* Main Wrapper for Label + Bar */
.quikctech-pp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Top Line Label */
.quikctech-pp .top-label {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 5px;
}

/* The Progress Container (SteelBlue) */
.quikctech-pp .bar-body {
  display: flex;
  align-items: center;
  background-color: steelblue;
  border-radius: 50px;
  padding: 5px;
  height: 48px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Percentage Text */
.quikctech-pp .percent-text {
  color: white;
  font-weight: 800;
  font-size: 20px;
  width: 75px;
  text-align: center;
  flex-shrink: 0;
}

/* The White Bordered Track */
.quikctech-pp .track {
  flex-grow: 1;
  border: 3px solid white;
  border-radius: 15px;
  height: 28px;
  margin-right: 10px;
  position: relative;
  overflow: hidden;
}

/* The Filling Part */
.quikctech-pp .fill {
  height: 100%;
  background-color: white;
  width: 0%; /* Animates via JS */
  transition: width 1.2s cubic-bezier(0.1, 0.5, 0.5, 1);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
}

#progress-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* target */
.custom-table.quicktech-target {
  font-size: 12px;
  font-weight: bold;
  width: 100%;
  min-width: 1200px;
  margin-bottom: 0;
}
.custom-table.quicktech-target th,
.custom-table.quicktech-target td {
  border: 1px solid #555 !important; /* Dark grey/black borders inside */
  vertical-align: middle;
  padding: 4px 6px;
  text-align: center;
  font-size: 12px;
}

/* Custom Colors based on the image */
.bg-neon-green.quicktech-target {
  background-color: #00ff7f !important;
}
.bg-light-green.quicktech-target {
  background-color: #7cfc00 !important;
}
.bg-cyan.quicktech-target {
  background-color: #00ffff !important;
}
.bg-gold.quicktech-target {
  background-color: #ffc107 !important;
}
.bg-light-yellow.quicktech-target {
  background-color: #fff8dc !important;
}
.bg-dark-green.quicktech-target {
  background-color: #4caf50 !important;
} /* AFTER 10 Hour column */
.bg-pale-green.quicktech-target {
  background-color: #98fb98 !important;
} /* Remarks header */
.bg-grey.quicktech-target {
  background-color: #c0c0c0 !important;
}
.bg-bright-green.quicktech-target {
  background-color: #00ff00 !important;
}

.factory-header.quicktech-target {
  font-size: 16px;
  border-bottom: 2px solid #ff00ff !important; /* Magenta line */
}
.address-header.quicktech-target {
  font-size: 14px;
}
.unit-header.quicktech-target {
  font-size: 14px;
}
.small-process.quicktech-target {
  font-size: 9px;
  text-transform: uppercase;
}

/* target */

quikctech-chart {
  background: white;
  border: 2px solid #222;
  border-radius: 4px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chart-header {
  background-color: var(--bg-blue);
  color: white;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.chart-body {
  flex-grow: 1;
  display: flex;
  padding: 10px;
  min-height: 200px;
  align-items: flex-end;
  gap: 8px;
}

/* Specialized Bar Styles */
.bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
}

.bar-label-top {
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: var(--bg-blue);
}

.bar-fill {
  width: 100%;
  position: relative;
  transition: height 0.5s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.bar-footer {
  background-color: var(--bg-blue);
  color: white;
  padding: 4px 2px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 5px;
}

/* Inspection Result Specifics */
.inspection-header {
  background: var(--bg-blue);
  color: white;
  border-bottom: 2px solid #ddd;
}
.pass {
  background-color: var(--pass-green);
}
.pending {
  background-color: var(--pending-yellow);
}
.fail {
  background-color: var(--fail-red);
}
.text-pass {
  color: var(--pass-green);
  font-weight: bold;
}
.text-pending {
  color: #d4af37;
  font-weight: bold;
}
.text-fail {
  color: var(--fail-red);
  font-weight: bold;
}

/* Target Section */
.target-box {
  background-color: var(--target-green);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
}

/* DHU Section */
.dhu-bar {
  background-color: var(--bg-blue);
}
.dhu-bar-alt {
  background-color: var(--light-blue);
}

:root {
  --bg-blue: #3b66bc;
  --light-blue: #a3c1f3;
  --pass-green: #00a651;
  --fail-red: #ed1c24;
  --pending-yellow: #fff200;
  --target-green: #008141;
}

.quikctech-chart {
  background: white;
  border: 2px solid #ddd;
  border-radius: 4px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.quikctech-ad-ins-img img {
  height: 157px;
  width: 100%;
  
}

/* .quikctech-ad-ins-img img:hover {
  transform: scale(1.05);
  background-color: transparent;

} */


.dynamic-row-wrapper {
            transition: all 0.3s ease;
            border-left: 5px solid #198754; /* Green border for visual grouping */
        }
        .remove-btn {
            transition: transform 0.2s;
        }
        .remove-btn:hover {
            transform: scale(1.1);
        }
