:root {
    --primary: #2c3e50;
    --accent: #e74c3c;
    --accent-dark: #c0392b;
    --bg-soft: #f8f9fa;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

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

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

.bundle-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #eee;
    background-color: var(--bg-soft);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.book-item {
    transition: background-color 0.2s ease;
}

.book-item:hover {
    background-color: #f8f9fa;
}

/* Add any custom styles here */

.loading {
    padding: 2rem;
    margin: 10px;
    font-style: italic;
    color: #666;
    background-color: var(--bg-soft);
    border-radius: 8px;
}

.loading::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Sample topic pills */
.px-3.py-1 {
    transition: all 0.2s ease;
}

.px-3.py-1:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Update the example topics styling */
.example-topic {
    transition: all 0.2s ease;
    opacity: 0.8;
    background-color: #f1f5f9;
}

.example-topic:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    opacity: 1;
    background-color: #e2e8f0;
}

/* Make focus states more visible */
input:focus, 
button:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Better link contrast */
.text-blue-600 {
    color: #2b6cb0;
}

/* Add skip-to-content link for keyboard users */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: white;
    color: var(--accent);
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
} 