/* buttonStyles */
.sbcust-btn {
background-color: #b30000;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}

.acc-btn {
background-color: green;
color: white;
margin: 3px;
border-radius: 4px;
cursor: pointer;
}

.rej-btn {
background-color: red;
color: white;
margin: 3px;
border-radius: 4px;
cursor: pointer;
}


/* span */
.error-spn {
    color: red;
    font-style: italic;
  }

/* cust btn */

.btn{
  margin-top: 5px;
}
.btn-edit {
  background-color: #035ebe !important;
  color: #ffffff;
  border: none !important;
}

.btn-del{
  background-color: #ee192e !important;
  color: #ffffff;
  border: none !important;

}

.btn-view {
background-color: #035ebe !important;
color: #ffffff;
border: none !important;
}



.btn-cpy {
color: #000000;
border: none !important;
}



/* project group img */


.proj-grp-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  max-width: 200px;
}


/* product group select */

/* In your CSS file (e.g., styles.css) */
.prodgroup-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: 3px solid #b30000;
  padding-left: 10px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.prodgroup-select span {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prodgroup-select .prodgroup-image-wrapper {
  position: relative;
}

.prodgroup-select img {
  width: 300px;
  height: 80px;
  object-fit: cover;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  max-width: 200px;
}

.prodgroup-select .toggle-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 5px;
  color: #fff;
}


/* progressBar */
.progress-container {
  height: 20px;
}

.progress-bar-container {
  position: relative;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 0;
  height: 20px;
  line-height: 20px;
}


.cust-h3 {
  margin: 0;
  font-size: 12px;
  cursor: pointer;
  color: blue;
}

.drawer-container {
  max-height: 75vh;
  overflow-y: auto;
}


/* status color (legacy) */
.status-text.refused  { color: red; }
.status-text.accepted { color: green; }

/* status row */
.status-row {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: 360px;
  gap: 12px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.status-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-row-label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

/* status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.status-badge--accepted {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-badge--refused {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.status-badge--pending {
  background: #fef9c3;
  color: #a16207;
  border: 1px solid #fde68a;
}

.status-badge--default {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}


.op_none{
  display: none;
}
/* Actions dropdown */
.actions-dropdown {
  position: relative;
  display: inline-block;
}

.actions-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  white-space: nowrap;
}

.actions-dropdown-trigger-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.actions-dropdown-trigger-chevron {
  font-size: 11px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.actions-dropdown-trigger.active .actions-dropdown-trigger-chevron {
  transform: rotate(180deg);
}

.actions-dropdown-trigger:hover,
.actions-dropdown-trigger.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(59,130,246,0.15);
}

.actions-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1050;
  min-width: 170px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 4px 0;
  animation: dropdown-fade 0.15s ease;
}

@keyframes dropdown-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.actions-dropdown-menu--right {
  right: auto;
  left: calc(100% + 8px);
  top: 0;
  transform: none;
  animation: dropdown-fade-right 0.15s ease;
}

@keyframes dropdown-fade-right {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}

.actions-dropdown-menu--right .actions-dropdown-arrow {
  top: 10px;
  left: -6px;
  right: auto;
  transform: rotate(-45deg);
}

.actions-dropdown-arrow {
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

.actions-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 16px;
  background: none;
  border: none;
  border-radius: 0;
  text-align: left;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s;
  white-space: nowrap;
}

.actions-dropdown-item:hover {
  background: #f9fafb;
  text-decoration: none;
}

.actions-dropdown-item.action-view  { color: #035ebe; }
.actions-dropdown-item.action-view:hover  { background: #eff6ff; }

.actions-dropdown-item.action-edit  { color: #0369a1; }
.actions-dropdown-item.action-edit:hover  { background: #f0f9ff; }

.actions-dropdown-item.action-delete { color: #dc2626; }
.actions-dropdown-item.action-delete:hover { background: #fef2f2; }

.actions-dropdown-item.action-warning { color: #d97706; }
.actions-dropdown-item.action-warning:hover { background: #fffbeb; }

.actions-dropdown-item.action-voucher { color: #059669; }
.actions-dropdown-item.action-voucher:hover { background: #ecfdf5; }

.actions-dropdown-icon {
  width: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
