/* Brand color overrides: map Tailwind blue/indigo utilities to wine red */

/* Backgrounds (buttons, hovers, active, focus) */
.bg-blue-50, .bg-blue-100, .bg-blue-200, .bg-blue-300,
.bg-blue-400, .bg-blue-500, .bg-blue-600, .bg-blue-700, .bg-blue-800, .bg-blue-900,
.hover\:bg-blue-50:hover, .hover\:bg-blue-100:hover, .hover\:bg-blue-200:hover, .hover\:bg-blue-300:hover,
.hover\:bg-blue-400:hover, .hover\:bg-blue-500:hover, .hover\:bg-blue-600:hover, .hover\:bg-blue-700:hover, .hover\:bg-blue-800:hover, .hover\:bg-blue-900:hover,
.active\:bg-blue-50:active, .active\:bg-blue-100:active, .active\:bg-blue-200:active, .active\:bg-blue-300:active,
.active\:bg-blue-400:active, .active\:bg-blue-500:active, .active\:bg-blue-600:active, .active\:bg-blue-700:active, .active\:bg-blue-800:active, .active\:bg-blue-900:active,
.focus\:bg-blue-50:focus, .focus\:bg-blue-100:focus, .focus\:bg-blue-200:focus, .focus\:bg-blue-300:focus,
.focus\:bg-blue-400:focus, .focus\:bg-blue-500:focus, .focus\:bg-blue-600:focus, .focus\:bg-blue-700:focus, .focus\:bg-blue-800:focus, .focus\:bg-blue-900:focus {
    background-color: rgb(160, 29, 34) !important;
}

/* Subtle background variants map to brand tint */
.bg-blue-50, .hover\:bg-blue-50:hover, .active\:bg-blue-50:active, .focus\:bg-blue-50:focus { background-color: rgba(160, 29, 34, 0.06) !important; }
.bg-blue-100, .hover\:bg-blue-100:hover, .active\:bg-blue-100:active, .focus\:bg-blue-100:focus { background-color: rgba(160, 29, 34, 0.10) !important; }
.bg-blue-200, .hover\:bg-blue-200:hover, .active\:bg-blue-200:active, .focus\:bg-blue-200:focus { background-color: rgba(160, 29, 34, 0.14) !important; }
.bg-blue-300, .hover\:bg-blue-300:hover, .active\:bg-blue-300:active, .focus\:bg-blue-300:focus { background-color: rgba(160, 29, 34, 0.18) !important; }

/* Text colors (links, icons) */
.text-blue-200, .text-blue-300, .text-blue-400, .text-blue-500, .text-blue-600, .text-blue-700, .text-blue-800, .text-blue-900,
.hover\:text-blue-200:hover, .hover\:text-blue-300:hover, .hover\:text-blue-400:hover, .hover\:text-blue-500:hover, .hover\:text-blue-600:hover, .hover\:text-blue-700:hover, .hover\:text-blue-800:hover, .hover\:text-blue-900:hover,
.focus\:text-blue-500:focus, .active\:text-blue-500:active {
    color: rgb(160, 29, 34) !important;
}

/* Borders and rings */
.border-blue-200, .border-blue-300, .border-blue-400, .border-blue-500, .border-blue-600, .border-blue-700, .border-blue-800, .border-blue-900 {
    border-color: rgb(160, 29, 34) !important;
}
.focus\:border-blue-500:focus, .focus\:border-blue-600:focus, .focus\:border-blue-700:focus,
.hover\:border-blue-500:hover, .active\:border-blue-500:active,
.focus\:border-blue-200:focus, .focus\:border-blue-300:focus, .focus\:border-blue-400:focus,
.hover\:border-blue-200:hover, .hover\:border-blue-300:hover, .hover\:border-blue-400:hover,
.focus\:border-blue-800:focus, .focus\:border-blue-900:focus,
.hover\:border-blue-800:hover, .hover\:border-blue-900:hover {
    border-color: rgb(160, 29, 34) !important;
}
.focus\:ring-blue-200:focus, .focus\:ring-blue-300:focus, .focus\:ring-blue-400:focus,
.focus\:ring-blue-500:focus, .focus\:ring-blue-600:focus, .focus\:ring-blue-700:focus, .focus\:ring-blue-800:focus, .focus\:ring-blue-900:focus,
.ring-blue-200, .ring-blue-300, .ring-blue-400, .ring-blue-500, .ring-blue-600, .ring-blue-700, .ring-blue-800, .ring-blue-900 {
    --tw-ring-color: rgb(160, 29, 34) !important;
}

/* Replace common indigo accents with brand color */
.text-indigo-500, .text-indigo-600, .text-indigo-700,
.hover\:text-indigo-500:hover, .hover\:text-indigo-600:hover, .hover\:text-indigo-700:hover {
    color: rgb(160, 29, 34) !important;
}
.focus\:ring-indigo-500:focus, .focus\:ring-indigo-600:focus, .focus\:ring-indigo-700:focus,
.ring-indigo-500, .ring-indigo-600, .ring-indigo-700 {
    --tw-ring-color: rgb(160, 29, 34) !important;
}
.focus\:border-indigo-500:focus, .focus\:border-indigo-600:focus, .focus\:border-indigo-700:focus,
.border-indigo-500, .border-indigo-600, .border-indigo-700 {
    border-color: rgb(160, 29, 34) !important;
}

/* Bootstrap primary fallback (if present anywhere) */
.btn-primary,
.btn.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: rgb(160, 29, 34) !important;
    border-color: rgb(160, 29, 34) !important;
}


