/* PropertyAds Custom Style overrides from constructor-panel */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
}

/* ==================== Cards & Panels ==================== */
.property-ads-dashboard .card, .content .card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.property-ads-dashboard .card-header, .content .card-header {
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-weight: 700 !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0.75rem 0.75rem 0 0 !important;
}

/* ==================== Status Badges ==================== */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}

.status-active { background: #dcfce7 !important; color: #166534 !important; border-color: #86efac !important; }
.status-pending { background: #fef3c7 !important; color: #92400e !important; border-color: #fcd34d !important; }
.status-open { background: #dbeafe !important; color: #1e40af !important; border-color: #93c5fd !important; }
.status-progress { background: #f3e8ff !important; color: #6b21a8 !important; border-color: #d8b4fe !important; }
.status-published { background: #e0e7ff !important; color: #3730a3 !important; border-color: #a5b4fc !important; }
.status-draft { background: #f1f5f9 !important; color: #475569 !important; border-color: #cbd5e1 !important; }
.status-received { background: #cffafe !important; color: #155e75 !important; border-color: #67e8f9 !important; }
.status-processing { background: #ffedd5 !important; color: #9a3412 !important; border-color: #fdba74 !important; }
.status-approved { background: #d1fae5 !important; color: #065f46 !important; border-color: #6ee7b7 !important; }
.status-rejected { background: #fee2e2 !important; color: #991b1b !important; border-color: #fca5a5 !important; }
.status-delivered { background: #ccfbf1 !important; color: #115e59 !important; border-color: #5eead4 !important; }
.status-paid { background: #dcfce7 !important; color: #166534 !important; border-color: #86efac !important; }
.status-partial { background: #fef3c7 !important; color: #92400e !important; border-color: #fcd34d !important; }
.status-unpaid { background: #fee2e2 !important; color: #991b1b !important; border-color: #fca5a5 !important; }
.status-default { background: #f1f5f9 !important; color: #475569 !important; border-color: #cbd5e1 !important; }

/* ==================== Custom Navigation Tabs ==================== */
.nav-tabs-custom {
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 1rem;
  list-style: none;
}

.nav-tabs-custom .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}

.nav-tabs-custom .nav-link:hover {
  color: #1e293b;
}

.nav-tabs-custom .nav-link.active, .nav-tabs-custom .nav-item.active .nav-link {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ==================== Filters ==================== */
.filter-bar {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  padding: 1rem !important;
}

/* ==================== Forms & Labels ==================== */
.form-label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 0.35rem !important;
}

.form-control, .form-select {
  font-size: 0.875rem !important;
  border-radius: 0.5rem !important;
  border-color: #cbd5e1 !important;
  padding: 0.5rem 0.75rem !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15) !important;
}

/* ==================== Empty States ==================== */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
}

.empty-state i {
  font-size: 3.5rem;
  opacity: 0.5;
}

/* ==================== Project details specific style overrides ==================== */
.project-details-dl dt {
  color: #64748b !important;
  font-weight: 500 !important;
}

.project-details-dl dd {
  color: #1e293b !important;
}
