/* Reset some default styles */
body{
    background-color: #f9f9fb;
}
#content, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
#content {
    font-family:'Hanken Grotesk', sans-serif;
    background-color: #f9f9fb;
    line-height: 1.6;
    padding: 2rem;
    max-width: 1140px;
    margin: auto;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: bold;
    color: #0337c3;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
    color: #0337c3;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #0337c3;
}

/* Paragraphs */
p {
    margin-bottom: 1rem !important;
    font-size:1.2rem;
}

/* ==============================================
   Table Styling (Replaces .package-list for UL)
   ============================================== */


.package-list table {
    table-layout: fixed; /* Ensures consistent column widths */
    width: 100%;
}

/* Define column widths */
.package-list td:first-child {
    width: 60%; /* Plugin name column - adjust as needed */
}

.package-list td:nth-child(2),
.package-list td:nth-child(3) {
    width: 20%; /* Link columns - equal width */
}

.package-list td:nth-child(2),
.package-list td:nth-child(3) {
    width: 120px; /* Fixed width for links */
}




.package-list tbody tr {
    background-color: #ffffff !important; /* White background like list items */
    border: 1px solid #ddd;
    border-radius: 6px !important;
    transition: background-color 0.2s ease !important;
}

.package-list tbody tr:hover {
    background-color: #eef6ff !important; /* Light blue hover like list items */
}

.package-list td {
    padding: 0.75rem 1rem !important;
    font-size: 1.2rem;
    vertical-align: middle;
     white-space: normal;
    overflow: visible;
    word-wrap: break-word;
    border: none; /* Remove default table borders */
}

/* Style the first column (plugin name) */
.package-list td:first-child {
    font-weight: 500;
    color: #333;
    border-radius: 6px 0 0 6px; /* Rounded left side */
}

/* Style the link columns */
.package-list td:not(:first-child) {
    text-align: center;
    min-width: 100px; /* Ensures links have enough space */
}

/* Link styling within the table */
.package-list a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.package-list a:hover {
    text-decoration: underline !important;
    background-color: #f0f7ff;
}


/* ==============================================
   Compact Linux Installation Section
   ============================================== */

.linux-installation.compact {
    margin: 1.5rem 0;
}

.installation-steps.compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
}

.step-row {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.step-row:hover {
    border-color: #c3d9ff;
    background-color: #f8fbff;
}

.step-number {
    background-color: #f0f7ff;
    color: #0337c3;
    font-weight: 700;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-title {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.step-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Download Link */
.download-link.compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0f7ff;
    color: #0066cc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #c3d9ff;
    transition: all 0.2s ease;
}

.download-link.compact:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.download-link.compact i {
    font-size: 0.9rem;
}

/* Filename */
.filename {
    font-family: 'Courier New', monospace;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Terminal Commands */
.terminal-command.compact {
    display: inline-flex;
    align-items: center;
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Courier New', monospace;
    gap: 0.75rem;
    border: 1px solid #333;
}

.prompt {
    color: #4ec9b0;
    font-weight: bold;
}

.command-text {
    color: #dcdcdc;
    font-size: 0.9rem;
    white-space: nowrap;
}

.copy-btn {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background-color: #404040;
    color: #fff;
    border-color: #666;
}

/* Quick Note */
.quick-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9ff;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 6px;
    border-left: 3px solid #0337c3;
    font-size: 0.9rem;
    color: #495057;
    max-width: 800px;
}

.quick-note i {
    color: #0337c3;
    flex-shrink: 0;
}

.quick-note code {
    background-color: #e9ecef;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* ==============================================
   Responsive Design
   ============================================== */
@media (max-width: 768px) {
    .step-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .step-action {
        width: 100%;
        justify-content: space-between;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    .terminal-command.compact {
        width: 100%;
        justify-content: space-between;
    }
    
    .command-text {
        font-size: 0.85rem;
        overflow-x: auto;
        max-width: calc(100% - 100px);
        white-space: nowrap;
    }
}
/* ==============================================
   Special "Not Available" State
   ============================================== */
.package-list td.notAvailable {
    color: #999;
    font-style: italic;
}

/* Caption styling */
caption {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    #content {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
    
    p, .package-list li {
        font-size: 1rem;
    }
    
}
