/* ========== Apna Pay Custom Color Scheme ========== */
:root {
    --primary-red: #CC1E23;
    --primary-dark: #1a1a1a;
    --primary-light-red: #fde8e9;
    --primary-hover: #a8181c;
}

/* Global overrides for Tailwind classes */
.bg-blue-600, .bg-blue-700, .bg-blue-800, .bg-blue-900,
.bg-gradient-to-r.from-blue-600, .bg-gradient-to-r.from-blue-800,
.bg-gradient-to-r.from-blue-900, .bg-gradient-to-r.from-blue-50,
.bg-gradient-to-r.from-indigo-600, .bg-gradient-to-r.to-indigo-600,
.bg-gradient-to-r.to-blue-800, .bg-gradient-to-r.to-gray-900 {
    background: var(--primary-red) !important;
}

.bg-gradient-to-r.from-blue-50 {
    background: var(--primary-light-red) !important;
}

.bg-gradient-to-r.from-blue-600.to-blue-800,
.bg-gradient-to-r.from-blue-600.to-indigo-600 {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8a1216 100%) !important;
}

.bg-gradient-to-r.from-blue-900.to-gray-900 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d2d2d 100%) !important;
}

.bg-blue-100, .bg-blue-50 {
    background-color: var(--primary-light-red) !important;
}

/* .text-blue-600, .text-blue-700, .text-blue-800, .hover\:text-blue-600:hover {
    color: var(--primary-red) !important;
} */

.text-blue-800 {
    color: var(--primary-red) !important;
}

.border-blue-600, .border-l-blue-600 {
    border-color: var(--primary-red) !important;
}

.hover\:bg-blue-700:hover, .hover\:bg-blue-50:hover {
    background-color: var(--primary-hover) !important;
}

.hover\:bg-blue-50:hover {
    background-color: var(--primary-light-red) !important;
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: var(--primary-red) !important;
}

/* Buttons and interactive elements */
button.bg-blue-600, a.bg-blue-600, .bg-blue-600 {
    background-color: var(--primary-red) !important;
}
button.bg-blue-600:hover, a.bg-blue-600:hover {
    background-color: var(--primary-hover) !important;
}

/* Custom card hover effects */
.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* IPO badge */
.bg-yellow-400 {
    background-color: #facc15 !important;
    color: var(--primary-dark) !important;
}

/* Footer dark background stays as is, but we can tweak */
.bg-gray-900 {
    background-color: var(--primary-dark) !important;
}

/* Stats cards background */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Light red background for special sections */
.bg-red-50 {
    background-color: var(--primary-light-red);
}

/* Custom class for primary red text */
.text-primary-red {
    color: var(--primary-red);
}
.bg-primary-red {
    background-color: var(--primary-red);
}
.border-primary-red {
    border-color: var(--primary-red);
}

/* Table header */
.bg-gray-800 {
    background-color: var(--primary-dark) !important;
}

/* Investment highlights icons color */
.text-blue-600, .text-green-600, .text-purple-600, .text-yellow-600 {
    color: var(--primary-red) !important;
}
