.nav-profile-card {
  background-color: var(--iq-card-bg) !important;
}
.line-height {
  line-height: 1.3;
}
/* .content-body{
    background-color: var(--iq-body-bg) !important;
} */
/* .table-style{
    border : 1px solid #cdcdcd;
    border-radius: 12px;
 } */
.bg-btn-card {
  background-color: var(--iq-page-body-bg, #ffffff);
  border-radius: 10px;
  box-shadow: var(--iq-card-shadow-1, 0 4px 12px rgba(0, 0, 0, 0.15));
  border: 1px solid grey;
}

.tabs-rounded {
  border: 1px solid #cdcdcd !important;
  border-radius: 10px !important;
  padding: 5px 16px !important;
  font-size: 12px;
}

.nav-tabs .nav-link.active {
  background-color: var(--iq-primary);
  color: white;
  border-color: #dee2e6 #dee2e6 #fff;
}
/* Optional: rounded tabs */
.tabs-rounded {
  border-radius: 0.5rem;
}
.nav-tabs {
  border-bottom: none !important;
  margin-bottom: 18px !important;
}

table.custom-table {
  border-collapse: separate;
  /* border-spacing: 0 8px !important;  */
}

table.custom-table tbody tr {
  background-color: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

table.custom-table tbody tr td {
  vertical-align: middle;
  border-top: none;
}

.table td,
.table th {
  padding: 7px !important;
}
.table thead th {
  border: none !important;
  font-weight: bold;
  font-family: "Muli", sans-serif !important;
  text-transform: capitalize;
}

.table thead th::first-letter {
  text-transform: uppercase !important;
}
.table thead th td {
  font-size: 18px !important;
}

.table thead tr {
  background-color: var(--iq-page-body-bg) !important;
}

.page-link {
  color: var(--iq-primary);
  background-color: #fff;
  border: 1px solid var(--iq-primary);
}
.page-item.active .page-link {
  background-color: var(--iq-primary);
  border-color: var(--iq-primary);
}

#analysisChart {
  height: 200px !important;
}
.nav-pills .nav-link {
  border-radius: 30px;
  padding: 0.4rem 1rem;
  margin: 0 4px;
  font-weight: 500;
  transition: 0.3s;
  color: #1aa049;
}
.nav-pills .nav-link.active {
  background: #fff;
  color: #1aa049 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dash-card-icon {
  height: 35px !important;
  width: 35px !important;
  display: inline-block;
  line-height: 34px !important;
  text-align: center;
  font-size: 14px;
}

label {
  margin-bottom: 0px !important;
}

.worker-img {
  width: 200px;
  height: 200px;
}

/* Card */
.login-card {
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 2rem;
  background: #ffffff;
  width: 100%;
  max-width: 450px;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

/* Title */
.login-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #1d3b8b;
  margin-bottom: 2rem;
}

/* Form Controls */
.custom-input {
  border-radius: 12px;
  border: 1px solid #cce0ff;
  padding: 0.85rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.custom-input:focus {
  border-color: #1d3b8b;
  box-shadow: 0 0 8px rgba(29, 59, 139, 0.2);
  outline: none;
}

/* Button */
.btn-login {
  background-color: #1d3b8b;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #112267;
  transform: translateY(-2px);
  color: #fff;
}

/* Messages */
#error_message,
#success_message {
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
}

#error_message {
  color: #d9534f;
}

#success_message {
  color: #28a745;
}

/* Optional: Loading State */
.loading-state {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  pointer-events: auto; /* blocks clicking behind */
}

.loading {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #1d3b8b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 9999;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap !important;
}

.table-responsive {
  max-height: 600px;
  /* set scroll area height */
  overflow-y: auto;
}

.table-responsive thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #fff;
  /* ensures header text is visible */
}

.table-responsive thead th {
  border: 1px solid rgb(207, 207, 207) !important;
}

.badge-progress {
  background: #fff3cd;
  color: #856404;
}

.price-tag {
  background: #d4edda;
  padding: 4px 10px;
  border-radius: 6px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  background: #28a745;
}

.dot-blue {
  background: #0d6efd;
}

.track-btn {
  background: #5b4bdb;
  color: white;
  border-radius: 8px;
}
