/* Daily Aviation Brief - Public Site Styles */

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #1e40af;
    --accent: #dbeafe;
    --border: #e2e8f0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Site Header */
.site-header {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem;
}

.site-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.site-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
}

/* Reports Section */
.reports-section {
    padding: 2rem 0;
    flex: 1;
}

.reports-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.date-group {
    margin-bottom: 2rem;
}

.date-group h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Report Link Card */
.report-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    gap: 1rem;
}

.report-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #bfdbfe;
}

.report-link .report-info {
    flex: 1;
    min-width: 0;
}

.report-link .report-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-link .report-date {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.125rem;
}

.report-link .formats {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.report-link .formats a {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.15s ease;
}

.report-link .formats a:hover {
    background: #bfdbfe;
}

/* No Reports Message */
.no-reports {
    text-align: center;
    color: var(--muted);
    padding: 3rem 1rem;
    font-size: 1rem;
}

/* Site Footer */
.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
