/* La Rosa - Color Override: Replace Yellow/Orange with Pink */

/* Override Bootstrap variables */
:root {
  --bs-warning: #ec4899 !important;
  --bs-warning-rgb: 236, 72, 153 !important;
}

/* Replace all yellow/orange colors with pink */
.text-warning,
.badge-warning,
.alert-warning,
.btn-warning {
  color: #ec4899 !important;
}

.bg-warning {
  background-color: #ec4899 !important;
}

.border-warning {
  border-color: #ec4899 !important;
}

.btn-warning {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
  border-color: #ec4899 !important;
  color: white !important;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
  border-color: #db2777 !important;
}

/* Product status badges */
.badge.bg-warning,
span[style*="background: #ffc107"],
span[style*="background:#ffc107"],
span[style*="background-color: #ffc107"],
span[style*="background-color:#ffc107"] {
  background: #ec4899 !important;
  color: white !important;
}

/* Buttons with yellow/orange */
button[style*="background: #ffc107"],
button[style*="background:#ffc107"],
button[style*="background-color: #ffc107"],
button[style*="background-color:#ffc107"],
a[style*="background: #ffc107"],
a[style*="background:#ffc107"],
a[style*="background-color: #ffc107"],
a[style*="background-color:#ffc107"] {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
  border-color: #ec4899 !important;
  color: white !important;
}

/* Text colors */
[style*="color: #ffc107"],
[style*="color:#ffc107"],
[style*="color: #FFB524"],
[style*="color:#FFB524"],
[style*="color: orange"],
[style*="color: yellow"] {
  color: #ec4899 !important;
}

/* Border colors */
[style*="border-color: #ffc107"],
[style*="border-color:#ffc107"],
[style*="border-color: #FFB524"],
[style*="border-color:#FFB524"],
[style*="border: 1px solid #ffc107"],
[style*="border: 2px solid #ffc107"] {
  border-color: #ec4899 !important;
}

/* Links */
a.text-warning {
  color: #ec4899 !important;
}

a.text-warning:hover {
  color: #db2777 !important;
}

/* Forms */
.form-control:focus {
  border-color: #ec4899 !important;
  box-shadow: 0 0 0 0.2rem rgba(236, 72, 153, 0.25) !important;
}

.form-check-input:checked {
  background-color: #ec4899 !important;
  border-color: #ec4899 !important;
}

/* Progress bars */
.progress-bar.bg-warning {
  background-color: #ec4899 !important;
}

/* Alerts */
.alert-warning {
  background-color: #fce7f3 !important;
  border-color: #fbcfe8 !important;
  color: #9f1239 !important;
}

/* Spinners */
.spinner-border.text-warning {
  color: #ec4899 !important;
}

/* Dropdown items */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #ec4899 !important;
}

/* Nav pills */
.nav-pills .nav-link.active {
  background-color: #ec4899 !important;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #ec4899 !important;
  border-color: #ec4899 !important;
}

.page-link:hover {
  color: #ec4899 !important;
}

/* List group */
.list-group-item.active {
  background-color: #ec4899 !important;
  border-color: #ec4899 !important;
}

/* Toast */
.toast-header.bg-warning {
  background-color: #ec4899 !important;
  color: white !important;
}

/* Specific overrides for common patterns */
.btn-outline-warning {
  color: #ec4899 !important;
  border-color: #ec4899 !important;
}

.btn-outline-warning:hover {
  background-color: #ec4899 !important;
  border-color: #ec4899 !important;
  color: white !important;
}

/* Table */
.table-warning {
  background-color: #fce7f3 !important;
}

/* Card */
.card-header.bg-warning {
  background-color: #ec4899 !important;
  color: white !important;
}

/* Override any inline styles with !important */
*[class*="warning"] {
  --bs-warning: #ec4899 !important;
}
