/* downloads.css */

/* =========================================
   SHARED LAYOUT ALIGNMENT
   (Applies to Windows, Linux, and Mac containers)
   ========================================= */
.downloads-content,
.linux-content,
.mac-content {
    padding-top: 0px; 
    padding-bottom: 80px;

    margin: 0 auto; 
    width: 100%;
    
    /* Max width constraints */
    max-width: 850px;
}

/* Specific spacing for Coming Soon pages (Linux/Mac) */
.linux-content,
.mac-content {
    padding-top: 0px; /* Extra top space for the 'Coming Soon' text */
    max-width: 700px;
}


/* =========================================
   SHARED FORM STYLES
   ========================================= */
.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-input {
    width: 100%; 
    padding: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
    background-color: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    display: block;
    box-sizing: border-box;
}

.form-input:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6;
}

.submit-btn {
    background-color: #3b82f6;
    color: white;
    height: 60px;
    width: 100%;
    border-radius: 6px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    font-weight: 400;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    background-color: #2563eb;
}


/* =========================================
   SHARED PAGE ELEMENTS
   ========================================= */
.page-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
}

.divider {
    width: 100%;
    height: 3px;
    background: #e7e7e7ff; 
    margin: 10px 0 40px 0;
}

/* =========================================
   WINDOWS CARD STYLING
   ========================================= */
.download-card {
    background: #424242;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.latest-card {
    border: 2px solid #3b82f6; 
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
    background: #464646; 
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.version-number {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
}

.release-date {
    color: #cccccc;
    font-size: 14px;
    margin-top: 5px;
}

.badge {
    background: #3b82f6;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.changelog-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
}

.changelog {
    list-style: none;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.changelog li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
}

.changelog li::before {
    content: '•';
    color: #3b82f6; 
    position: absolute;
    left: 4px;
    font-weight: bold;
    font-size: 18px;
    line-height: 18px;
}

.card-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3b82f6; 
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.2s, transform 0.1s;
    border: none;
    font-weight: 500;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.card-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.card-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    background: #555; 
}

.secondary-btn:hover {
    background: #666;
}

.file-info {
    color: #999;
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
}

.section-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 300;
    margin: 60px 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .downloads-content, 
    .linux-content,
    .mac-content {
        margin-left: 0;
        width: 100%;
        transform: none;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
    }
}