/* Base styles */
body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #374151;
}

/* Layout utilities */
.max-w-xl {
    max-width: 36rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pt-4 {
    padding-top: 1rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* Spacing utilities */
.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-0\.5 > * + * {
    margin-top: 0.125rem;
}

/* Typography utilities */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-500 {
    color: #6b7280;
}

.hover\:text-gray-700:hover {
    color: #374151;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.underline {
    text-decoration: underline;
}

/* Books page styles */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.book-title {
    font-weight: 500;
}

.book-author {
    color: #6b7280;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.book-summary {
    color: #4b5563;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.book-date {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #ffffff;
    }

    .text-gray-500 {
        color: #6b7280;
    }

    .hover\:text-gray-700:hover {
        color: #d1d5db;
    }

    a:hover {
        color: #d1d5db;
    }

    .book-summary {
        color: #9ca3af;
    }

    .book-date {
        color: #6b7280;
    }
}
