@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #151519;
    color: #8B8B9C;
    font-family: 'JetBrains Mono', monospace;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

#icon {
    height: 120px;
    width: auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style-type: none;
    min-height: 100px;
}

select {
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #2a2a2e;
    color: #8B8B9C;
    padding: 12px 32px 12px 12px;
    font-size: 0.9em;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    max-width: 40%;
}

.select-wrapper::after {
    content: '>';
    font-weight: bold;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg); 
    color: #8B8B9C;
    pointer-events: none;
    font-size: 0.9em;
}

.select-wrapper select {
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #2a2a2e;
    color: #8B8B9C;
    padding: 12px 32px 12px 12px;
    font-size: 0.9em;
    appearance: none;
    width: 100%;
    cursor: pointer;
}

.specific-version {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

.content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.version-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Make the select wrapper and build button share the same width */
.select-wrapper,
.build-button {
    width: 220px;
    max-width: 100%;
}

.version-controls {
    align-items: flex-start; /* keep both left-aligned */
}

.build-button {
    background-color: #D9C38C;
    color: #151519;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.15s ease;
    max-width: 220px;
}

.build-button:hover {
    opacity: 0.9;
}

.versions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: -6%;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 8px;
}

.versions-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.versions-list a.version-link {
    color: #D9C38C;
    text-decoration: none;
}

.versions-list .status {
    font-size: 12px;
    color: #8B8B9C;
}

.version-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-date {
    color: #7a7a7a;
    font-size: 10px;
    opacity: 0.5;
}

.version-status {
    color: #DD612B;
    font-size: 0.8em;
    opacity: 0.75;
}

li:not(:last-child) {
    padding-bottom: 0.25em;
}

/* Cards */
.card {
    background-color: #1a1a1e;
    border-radius: 8px;
    padding: 25px;
}

.card-title {
    color: #8B8B9C;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: normal;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2e;
}

.download-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #2a2a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.download-info {
    flex: 1;
}

.download-name {
    color: #D9C38C;
    font-size: 14px;
    margin-bottom: 5px;
}

.download-status {
    color: #8B8B9C;
    font-size: 11px;
}

/* Buttons */
.download-button {
    display: inline-block;
    background-color: #2a2a2e;
    color: #D9C38C;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3e;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.download-button:hover {
    background-color: #D9C38C;
    color: #151519;
    border-color: #D9C38C;
}

.build-date {
    color: #8B8B9C;
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;
}

.archives-button {
    display: block;
    background-color: transparent;
    color: #8B8B9C;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2e;
    text-align: center;
    margin-top: 10px;
}

.archives-button:hover {
    border-color: #D9C38C;
    color: #D9C38C;
}

/* Footer */
footer {
    text-align: center;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #2a2a2e;
    width: 100%;
}

footer a {
    color: #8B8B9C;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #D9C38C;
}

/* Slightly lower the bullet separator in the footer */
footer label {
    position: relative;
    top: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .content {
        grid-template-columns: 1fr;
    }
    .select-wrapper {
        max-width: 100%;
    }
    .select-wrapper,
    .build-button {
        width: 100%;
    }
}
