/* This file is intentionally left blank. */

/* Podcast Management Styles */
.podcast-management {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.opml-import {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.opml-import form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.podcast-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.podcast-list th,
.podcast-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.podcast-list th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.podcast-list tr:hover {
    background-color: #f9f9f9;
}

.podcast-list button {
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.podcast-list button:hover {
    background-color: #c82333;
}

/* Navigation Styles */
nav {
    background-color: #333;
    padding: 1rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    background-color: #555;
}

/* Flash Message Styles */
.flash-messages {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.flash-message {
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Search page styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --footnote-bg: #f1f5f9;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

form {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: border-color 0.15s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.search-button:hover {
    background-color: var(--primary-hover);
}

.results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
}

.results h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footnotes {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.footnote-references {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.footnote-number {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: var(--footnote-bg);
    font-size: 0.875rem;
    transition: background-color 0.15s ease;
}

.footnote-number:hover {
    background-color: #e2e8f0;
}

.footnote-content {
    display: none;
    padding: 1rem;
    margin: 0.5rem 0;
    background-color: var(--footnote-bg);
    border-radius: 8px;
    font-size: 0.9375rem;
}

.footnote-ref {
    font-size: 0.75rem;
    vertical-align: super;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    margin: 0 2px;
    font-weight: 500;
}

.footnote-content.highlight {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% { background-color: #fef9c3; }
    100% { background-color: var(--footnote-bg); }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
        margin: 24px auto;
    }

    form {
        flex-direction: column;
        padding: 1rem;
    }

    .search-button {
        width: 100%;
    }

    .results {
        padding: 1rem;
    }
}