/* Theme Variables and Custom Styles */
:root {
    --accent-color: #3b82f6;
}

/* Apply accent color to various elements */
.text-accent {
    color: var(--accent-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.border-accent {
    border-color: var(--accent-color);
}

.hover\:bg-accent:hover {
    background-color: var(--accent-color);
}

.hover\:text-accent:hover {
    color: var(--accent-color);
}

.focus\:ring-accent:focus {
    --tw-ring-color: var(--accent-color);
}

/* Button with accent color */
.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    filter: brightness(110%);
}

/* Override Tailwind blue classes to use accent color */
.text-blue-500,
.text-blue-600 {
    color: var(--accent-color) !important;
}

.bg-blue-500,
.bg-blue-600 {
    background-color: var(--accent-color) !important;
}

.border-blue-500 {
    border-color: var(--accent-color) !important;
}

.ring-blue-500 {
    --tw-ring-color: var(--accent-color) !important;
}

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

.focus\:border-blue-500:focus {
    border-color: var(--accent-color) !important;
}

.hover\:bg-blue-700:hover {
    background-color: var(--accent-color) !important;
    filter: brightness(90%);
}

/* Dark mode specific overrides */
.dark .dark\:text-blue-400 {
    color: var(--accent-color) !important;
    filter: brightness(110%);
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text Support */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Enhanced Shadow Utilities */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Backdrop Blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}