/* Page Styling */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
   
    height: 100%; /* Ensure the page covers the full height */
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Makes sure header and footer are at the top and bottom */
    min-height: 100vh; /* Ensures the body takes full height */
}

/* Header and Footer (if you want to customize them) */
header {
    height: 60px; /* Adjust as needed */
    background-color: #111827;
    /* Other header styling */
}

footer {
    height: 50px; /* Adjust as needed */
    background-color: #111827;
    /* Other footer styling */
}

/* Download container styling */
.download-container {
    flex: 1; /* This will allow the container to grow and take the remaining space between header and footer */
    max-width: 700px;
    margin: 30px auto; /* Center the container */
    padding: 35px;
    background-color: #111827;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.35); /* cyan glow */
    color: var(--text-1);
    text-align: center;
    transition: box-shadow 0.3s ease;
    overflow: hidden; /* Prevents scrollbar on the container */
}

.download-container:hover {
    box-shadow: 0 0 25px rgba(31, 111, 255, 0.35);
}

.download-container h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #1F6FFF;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(31, 111, 255, 0.4);
}

.download-header {
    margin-bottom: 30px;
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #00E5FF 0%, #1F6FFF 45%, #155EEF 100%);
    color: #0B1222;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    box-shadow: 0 0 24px rgba(31, 111, 255, 0.28);
    transition: transform 0.2s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
    filter: brightness(1.06);
    transform: scale(1.03);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.download-container p {
    font-size: 16px;
    margin-top: 10px;
    color: #A8B3C7;
}

h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #6FEAFF;
}

/* Table Container Styling */
.table-container {
    overflow-y: auto; /* Enables scroll within the table container */
    max-height: 200px; /* Limits height of the container, adjust as needed */
    margin-top: 30px;
    padding-right: 10px;
    position: relative;
    border-radius: 8px; /* Rounded corners for the table container */
    background-color: #0A0F1E; /* Optional: add background to the table container */
}

/* Patch Table Styling */
.patch-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #0A0F1E;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
    transition: all 0.3s ease-in-out;
    table-layout: fixed; /* Prevents table overflow */
}

.patch-table th,
.patch-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #1F2A44;
    font-size: 16px;
}

.patch-table th {
    background-color: #111827;
    color: #6FEAFF;
    font-weight: bold;
}

.patch-table td {
    background-color: #162032;
    color: var(--text-1);
}

.patch-table tr {
    color: white;
}

.patch-table tr:nth-child(even) {
    background-color: #1A2438;
}

.patch-table tr:hover {
    background-color: rgba(0, 229, 255, 0.08);
}


/* Custom Scrollbar Styling */
.table-container::-webkit-scrollbar {
    width: 12px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #1F6FFF;
    border-radius: 10px;
    border: 3px solid #111827;
}

.table-container::-webkit-scrollbar-track {
    background: #0A0F1E;
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background-color: #00E5FF;
}

/* Patch Download Button Styling */
.btn-download-patch {
    display: inline-block;
    background: linear-gradient(135deg, #00E5FF 0%, #1F6FFF 45%, #155EEF 100%);
    color: #0B1222;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
    box-shadow: 0 0 24px rgba(31, 111, 255, 0.28);
    transition: transform 0.2s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.btn-download-patch:hover {
    filter: brightness(1.06);
    transform: scale(1.03);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}
