/* Bartender 6 Alpha Page Styles */

/* Dark mode by default (matching the page background) */
:root {
    --card-bg: #1a1b26;
    --card-border: #2a2b3d;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --section-header: #9ca3af;
    --link-color: #60a5fa;
    --link-hover: #93bbfc;
    --badge-latest-bg: #10b98120;
    --badge-latest-text: #10b981;
    --badge-previous-bg: #6b728020;
    --badge-previous-text: #9ca3af;
    --list-bullet: #60a5fa;
    --download-bg: #2563eb;
    --download-hover: #1d4ed8;
    --guidelines-bg: #1a1b26;
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    :root {
        --card-bg: #f9fafb;
        --card-border: #e5e7eb;
        --text-primary: #111827;
        --text-secondary: #6b7280;
        --section-header: #6b7280;
        --link-color: #2563eb;
        --link-hover: #1d4ed8;
        --badge-latest-bg: #10b98120;
        --badge-latest-text: #059669;
        --badge-previous-bg: #6b728020;
        --badge-previous-text: #6b7280;
        --list-bullet: #2563eb;
        --download-bg: #2563eb;
        --download-hover: #1d4ed8;
        --guidelines-bg: #f3f4f6;
    }
}

/* Release Cards */
.release-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.release-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--card-border);
}

.release-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.release-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-latest {
    background-color: var(--badge-latest-bg);
    color: var(--badge-latest-text);
}

.badge-previous {
    background-color: var(--badge-previous-bg);
    color: var(--badge-previous-text);
}

.release-intro {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.release-intro p {
    color: var(--text-secondary);
}

/* Section Headers - Simple text style */
.section-header {
    color: var(--section-header);
    margin: 2rem 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list > li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.feature-list > li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--list-bullet);
    font-weight: bold;
    font-size: 1.25rem;
}

.feature-list ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.feature-list ul li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* Download Button */
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--download-bg);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.download-button:hover {
    background: var(--download-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

/* Tab Navigation */
.nav-pills .nav-link {
    color: var(--text-secondary);
    background: transparent;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--download-bg);
    border-color: var(--download-bg);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-primary);
}

/* Guidelines Section */
.guidelines-card {
    background: var(--guidelines-bg);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 0;
    border: 1px solid var(--card-border);
}

.guidelines-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.guidelines-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.guidelines-card ul {
    list-style: none;
    padding: 0;
}

.guidelines-card ul li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* Container Adjustments */
.releases-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Remove old table styles */
table.dots {
    display: none;
}