/**
 * Modern UI layer for the vendor/procurement pages added this session
 * (Vendor, Vendor Manager, and the new Top Manager/Admin/Property Manager
 * screens). Scoped entirely under .rc-panel so it never touches the
 * pre-existing site's styling - every new page's outer wrapper carries
 * this class specifically for that reason.
 */

.rc-panel {
  padding: 28px 4px 40px;
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #33383d;
}

/* ---- Typography ---- */

.rc-panel h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1f24;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.rc-panel h5 {
  font-size: 15px;
  font-weight: 600;
  color: #2b3238;
  margin-top: 24px;
  margin-bottom: 12px;
}

.rc-panel h6 {
  font-size: 14px;
  font-weight: 600;
  color: #2b3238;
  margin-bottom: 8px;
}

.rc-panel p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6169;
}

.rc-panel .text-muted {
  font-size: 13px;
  color: #8a9099 !important;
}

.rc-panel label {
  font-size: 13px;
  font-weight: 600;
  color: #444b52;
  margin-bottom: 5px;
}

/* ---- Stat cards (dashboards: label + big number) ---- */

.rc-panel .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(20, 30, 40, 0.08), 0 6px 18px rgba(20, 30, 40, 0.05);
  background: #fff;
}

.rc-panel .card h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a9099;
  margin-top: 0;
  margin-bottom: 8px;
}

.rc-panel .card .h2,
.rc-panel .card h2 {
  font-size: 30px;
  font-weight: 700;
  color: #006459;
  margin: 0;
}

/* ---- Tables ---- */

.rc-panel table.table {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 30, 40, 0.06);
  font-size: 14px;
}

.rc-panel table.table thead th {
  background: #f4f6f7;
  border: none;
  border-bottom: 1px solid #e6e9eb;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a9099;
  padding: 12px 16px;
  white-space: nowrap;
}

.rc-panel table.table td {
  padding: 12px 16px;
  border-top: 1px solid #eef1f2;
  vertical-align: middle;
  color: #33383d;
}

.rc-panel table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fafbfc;
}

.rc-panel table.table tbody tr:hover {
  background-color: #f1f7f6;
}

/* ---- Buttons ---- */

.rc-panel .btn {
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.rc-panel .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20, 30, 40, 0.12);
}

.rc-panel .btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
}

.rc-panel .btn-primary {
  background-color: #006459;
  border-color: #006459;
}

.rc-panel .btn-primary:hover {
  background-color: #01493f;
  border-color: #01493f;
}

.rc-panel .btn-success {
  background-color: #1e9e6f;
  border-color: #1e9e6f;
}

.rc-panel .btn-outline-success {
  color: #1e9e6f;
  border-color: #1e9e6f;
}

.rc-panel .btn-link {
  color: #006459;
  font-weight: 500;
}

/* ---- Forms ---- */

.rc-panel .form-control,
.rc-panel textarea.form-control,
.rc-panel select.form-control {
  border-radius: 7px;
  border: 1px solid #dfe3e6;
  font-size: 14px;
  padding: 9px 14px;
  height: auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-panel .form-control:focus {
  border-color: #006459;
  box-shadow: 0 0 0 3px rgba(0, 100, 89, 0.12);
}

.rc-panel .form-group {
  margin-bottom: 18px;
}

.rc-panel .mat-form-field {
  width: 100%;
  font-size: 14px;
}

/* ---- Alerts ---- */

.rc-panel .alert {
  border: none;
  border-left: 4px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  padding: 14px 18px;
}

.rc-panel .alert-success { background: #e9f8f3; border-left-color: #1e9e6f; color: #0f5c40; }
.rc-panel .alert-danger  { background: #fdedec; border-left-color: #d9534f; color: #8a2622; }
.rc-panel .alert-warning { background: #fff8e6; border-left-color: #e2ab1a; color: #7a5a05; }
.rc-panel .alert-info    { background: #eaf4fb; border-left-color: #2f8fd1; color: #1a5680; }

/* ---- Section cards used for RFQ/requirement detail blocks ---- */

.rc-panel .card.p-3,
.rc-panel .card.p-4 {
  margin-bottom: 18px;
}

/* ---- Section divider ---- */

.rc-panel hr {
  border-top: 1px solid #e9edee;
  margin: 24px 0;
}

/* ---- Empty-state text (e.g. "No RFQs have been sent to you yet.") ---- */

.rc-panel p.rc-empty {
  color: #8a9099;
  font-size: 14px;
  background: #fff;
  border: 1px dashed #dfe3e6;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
