/* OpenDBL Design System - Refined Spacious & Uncluttered Aesthetics */
:root {
    /* Umbrella Palette Extracted from umbrella.png */
    --umbrella-coral: #ff6e5f;
    --umbrella-coral-hover: #e05546;
    --umbrella-coral-glow: rgba(255, 110, 95, 0.1);
    --umbrella-slate: #303f56;
    --umbrella-sky: #bbddef;
    --umbrella-sky-light: #eaf4fa;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f8fc;
    --bg-header: #ffffff;
    --bg-table-th: var(--umbrella-sky-light);
    --border-color: #e2e8f0;
    --border-accent: #b9dbee;
    
    --text-main: #334155;
    --text-heading: var(--umbrella-slate);
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    --accent-blue: #0788C3;
    --accent-blue-hover: #056997;
    --accent-light-blue: #e0f2fe;
    --accent-emerald: #10b981;
    --accent-purple: #8b5cf6;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    
    --font-heading: Georgia, 'Times New Roman', Times, serif;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

/* Site Header / Nav with Coral Accent Top Line */
.site-header {
    background-color: var(--bg-header);
    border-top: 3px solid var(--umbrella-coral);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--umbrella-slate);
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-icon {
    height: 32px;
    width: auto;
}

.brand-accent {
    color: var(--umbrella-coral);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-section a {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.nav-section a:hover {
    color: var(--umbrella-coral);
    background-color: var(--umbrella-coral-glow);
    text-decoration: none;
}

.nav-section a.active {
    color: var(--umbrella-coral);
    font-weight: 600;
    background-color: var(--umbrella-coral-glow);
}

.nav-divider {
    width: 1px;
    height: 18px;
    background-color: var(--border-color);
}

.nav-label {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--text-muted);
    border-radius: 2px;
}

/* Layout */
.main-content {
    flex: 1;
}

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

/* Hero Section with Umbrella Soft Sky Accent */
.hero-banner {
    background: linear-gradient(180deg, #ffffff 0%, rgba(187, 221, 239, 0.22) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0 2rem 0;
    text-align: center;
}

.hero-header-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.hero-logo-img {
    height: 48px;
    width: auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--umbrella-slate);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 0.975rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 0.75rem auto;
}

.hero-formats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.75rem 0 1.25rem 0;
}

.format-badge {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 400;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.format-label {
    font-weight: 400;
    color: var(--text-muted);
}

.format-badge code {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: var(--umbrella-slate);
    font-weight: 400;
}

.hero-polling-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.nobr {
    white-space: nowrap;
}

.hero-stats-row {
    display: inline-flex;
    gap: 2rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.stat-item strong {
    color: var(--umbrella-slate);
    font-family: var(--font-mono);
}

/* Page Body */
.page-body {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.table-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--umbrella-slate);
    margin: 2rem 0 0.85rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-section-title:first-child {
    margin-top: 0;
}

/* Data Table with Uncluttered Layout & Single-Line List Names */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-accent);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
    table-layout: fixed;
}

.data-table th {
    background-color: var(--umbrella-sky-light);
    color: var(--umbrella-slate);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--umbrella-sky);
    border-right: 1px solid #e2e8f0;
}

.data-table th:last-child {
    border-right: none;
}

.data-table th.col-entries,
.data-table th.col-update,
.data-table th.col-usage,
.data-table th.col-risk {
    text-align: center;
}

.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eef2f6;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
}

.data-table td:last-child {
    border-right: none;
}

.data-table tbody tr {
    background-color: #ffffff;
    transition: background-color 0.12s ease;
}

.data-table tbody tr:nth-child(even) {
    background-color: #f9fbfd;
}

.data-table tbody tr:hover {
    background-color: var(--bg-card-hover);
}

/* Column Sizing & Unwrapped Layout */
.col-name {
    width: 25%;
    white-space: nowrap;
}

.list-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.list-link {
    font-weight: 600;
    color: var(--accent-blue);
    white-space: nowrap;
}

.list-link:hover {
    color: var(--umbrella-coral);
}

.alt-link {
    font-size: 0.775rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.copy-url-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-url-btn:hover {
    color: var(--umbrella-coral);
    background-color: var(--umbrella-coral-glow);
}

.col-entries {
    width: 10%;
    text-align: center;
    white-space: nowrap;
}

.count-pill {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--umbrella-slate);
    background-color: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
}

.col-update {
    width: 15%;
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: center;
}

.col-usage {
    width: 14%;
    white-space: nowrap;
    text-align: center;
}

.col-risk {
    width: 14%;
    white-space: nowrap;
    text-align: center;
}

.col-desc {
    width: 22%;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
}

/* News Table Column Sizing */
.news-table .col-date {
    width: 15%;
    white-space: nowrap;
}

.news-table .col-platform {
    width: 15%;
    text-align: center;
    white-space: nowrap;
}

.news-table .col-news {
    width: 70%;
    white-space: normal;
}

.ext-info-link {
    font-size: 0.8rem;
    margin-left: 0.35rem;
    white-space: nowrap;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.col-platform, .col-risk {
    white-space: nowrap;
    text-align: center;
}

.data-table th.col-risk {
    text-align: center;
}

.usage-incoming {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.usage-outgoing {
    background-color: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.usage-both {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.risk-low {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.risk-medium {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.risk-high {
    background-color: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.badge-recommended {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.675rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.plat-all {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.plat-vendor {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* Donation Card with Coral Accent Top Line */
.support-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--umbrella-coral);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.support-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.bmc-image-link img {
    height: 44px;
    width: auto;
    transition: transform 0.15s ease;
}

.bmc-image-link img:hover {
    transform: scale(1.03);
}

/* Page Header */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
}

.breadcrumb {
    font-size: 0.825rem;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--umbrella-slate);
}

/* Guide Cards */
.guide-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
}

.guide-card h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--umbrella-slate);
    margin-bottom: 0.75rem;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--umbrella-slate);
    margin: 1.5rem 0 0.6rem 0;
}

.guide-card p {
    color: var(--text-main);
    margin-bottom: 0.85rem;
}

/* Alerts */
.alert-box {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    margin: 1.25rem 0;
    font-size: 0.9rem;
}

.alert-info {
    background-color: var(--umbrella-sky-light);
    border: 1px solid var(--umbrella-sky);
    color: #0369a1;
}

.alert-warning {
    background-color: #fffbebf5;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* Step list */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.step-num {
    width: 30px;
    height: 30px;
    background-color: var(--umbrella-coral-glow);
    border: 1px solid var(--umbrella-coral);
    color: var(--umbrella-coral);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body h3 {
    margin: 0 0 0.25rem 0;
    font-size: 0.975rem;
}

.step-body p {
    margin: 0;
    font-size: 0.875rem;
}

/* Screenshot Frame & Clickable Zoom Link */
.screenshot-frame {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 1.25rem 0;
}

.img-zoom-link {
    display: block;
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
}

.img-zoom-link img {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.img-zoom-link:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Lightbox Modal */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    cursor: zoom-out;
}

.image-modal-content {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
}

.image-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.frame-header {
    background-color: #f1f5f9;
    padding: 0.5rem 0.85rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.download-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.85rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--umbrella-coral);
    color: #ffffff;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
}

.download-btn:hover {
    background-color: var(--umbrella-coral-hover);
    color: #ffffff;
    text-decoration: none;
}

.download-btn.secondary {
    background-color: #f1f5f9;
    color: var(--text-heading);
    border: 1px solid #cbd5e1;
}

.download-btn.secondary:hover {
    background-color: #e2e8f0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--umbrella-coral);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-primary:hover {

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-linkedin:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;
}
    background-color: var(--umbrella-coral-hover);

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-linkedin:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;
}
    color: #ffffff;

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-linkedin:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;
}
    text-decoration: none;

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-linkedin:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;
}
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-linkedin:hover {
    background-color: #004182;
    color: #ffffff;
    text-decoration: none;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--umbrella-slate);
    color: #ffffff;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 2.25rem 0 1.5rem 0;
    margin-top: auto;
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--umbrella-coral);
}

.footer-disclaimer {
    max-width: 820px;
    margin: 0 auto 0.85rem auto;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats-row {
        flex-direction: column;
        gap: 0.35rem;
        border-radius: var(--radius-md);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        box-shadow: var(--shadow-md);
    }
    
    .site-nav.open {
        display: flex;
    }
    
    .nav-section {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-section a {
        width: 100%;
    }
    
    .nav-divider {
        width: 100%;
        height: 1px;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
    }
}
