/* SIGNÉ admin — project quote requests */
.signe-pq-host-covered {
  position: relative !important;
  min-height: calc(100vh - 80px);
}

.signe-pq-host-covered > *:not(#signe-project-quotes-root) {
  display: none !important;
}

.signe-pq-root--embedded {
  position: relative;
  z-index: 30;
  padding: 16px 20px 32px;
  min-height: calc(100vh - 80px);
  background: #f7f4ef;
  overflow: auto;
  font-family: inherit;
  color: inherit;
}

.signe-pq-root * { box-sizing: border-box; }

.signe-pq-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.signe-pq-search {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid #e8e4de;
  border-radius: 10px;
}

.signe-pq-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  background: #1a1a1a;
  color: #fff;
}

.signe-pq-btn.secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e8e4de;
}

.signe-pq-btn.danger {
  background: #b42318;
  color: #fff;
}

.signe-pq-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.signe-pq-card {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 12px;
  overflow: hidden;
}

.signe-pq-card table {
  width: 100%;
  border-collapse: collapse;
}

.signe-pq-card th,
.signe-pq-card td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e4de;
  text-align: right;
  vertical-align: top;
}

.signe-pq-card th {
  background: #faf8f5;
  font-size: 13px;
  color: #6b6b6b;
  white-space: nowrap;
}

.signe-pq-card tr[data-quote-row] {
  cursor: pointer;
}

.signe-pq-card tr[data-quote-row]:hover td {
  background: #faf8f5;
}

.signe-pq-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.signe-pq-badge.new {
  background: #fef3c7;
  color: #92400e;
}

.signe-pq-badge.replied {
  background: #dcfce7;
  color: #166534;
}

.signe-pq-badge.pending {
  background: #f3f4f6;
  color: #4b5563;
}

.signe-pq-badge.attach {
  background: #e0e7ff;
  color: #3730a3;
}

.signe-pq-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6b6b6b;
}

.signe-pq-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.signe-pq-detail {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 12px;
}

.signe-pq-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 20px;
  margin-bottom: 16px;
}

.signe-pq-detail__label {
  display: block;
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 4px;
}

.signe-pq-detail__value {
  font-weight: 600;
  word-break: break-word;
}

.signe-pq-detail__message {
  white-space: pre-line;
  line-height: 1.7;
  padding: 14px;
  background: #faf8f5;
  border-radius: 10px;
  margin-bottom: 16px;
}

.signe-pq-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signe-pq-sidebar-badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-inline-start: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

#signe-project-quotes-sidebar-item a {
  color: inherit;
  text-decoration: none;
}

#signe-project-quotes-sidebar-item.active > a,
#signe-project-quotes-sidebar-item.active a.router-link-active {
  font-weight: 700;
}

.signe-pq-error {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b42318;
  margin-bottom: 12px;
}

.signe-pq-msg {
  padding: 12px 14px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #166534;
  margin-bottom: 12px;
}
