/* ===================================================================
   DOWNLOADS SYSTEM - STYLING
   File downloads with coral theme
   =================================================================== */

/* ===================================================================
   DOWNLOADS SECTION BASE STYLING
   =================================================================== */
.downloads-section {
    margin-top: 20px;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.downloads-section .section-title {
    color: #FF8C69;
}

.downloads-container {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 140, 105, 0.4);
    box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0 -15px;
}

/* ===================================================================
   DOWNLOAD ITEMS STYLING
   =================================================================== */
.download-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-item:last-child {
    margin-bottom: 0;
}

.download-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.download-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 140, 105, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    line-height: 1;
    text-align: center;
}

.download-info {
    flex: 1;
}

.download-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: "Segoe UI", Arial, sans-serif;
}

.download-explanation {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-family: "Segoe UI", Arial, sans-serif;
}

.download-btn {
    background-color: rgba(255, 140, 105, 0.1);
    border: 1px solid rgba(255, 140, 105, 0.3);
    color: #ff8c69;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: rgba(255, 140, 105, 0.2);
    border-color: rgba(255, 140, 105, 0.5);
    transform: translateY(-1px);
}

/* ===================================================================
   DOWNLOADS LOGIN REQUIRED STATE
   =================================================================== */
.downloads-login-required {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.downloads-login-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    opacity: 0.6;
}

.downloads-login-title {
    font-size: 20px;
    font-weight: 600;
    color: #ff8c69;
    margin-bottom: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.downloads-login-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.downloads-login-btn {
    background-color: #ff8c69;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Arial, sans-serif;
}

.downloads-login-btn:hover {
    background-color: #e8785a;
    transform: translateY(-1px);
}

/* ===================================================================
   RESPONSIVE DESIGN ADJUSTMENTS
   =================================================================== */

/* Desktop */
@media (min-width: 1024px) {
    .downloads-container {
        padding: 30px;
        margin: 0 -20px;
        border: 1px solid rgba(255, 140, 105, 0.4);
        box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .downloads-container {
        padding: 35px;
        margin: 0 -25px;
        border: 1px solid rgba(255, 140, 105, 0.4);
        box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .downloads-container {
        padding: 25px;
        margin: 0 -12px;
        border: 1px solid rgba(255, 140, 105, 0.4);
        box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .downloads-container {
        padding: 16px;
        margin: 0 -8px;
        border: 1px solid rgba(255, 140, 105, 0.4);
        box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .download-item {
        padding: 15px;
        margin-bottom: 12px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .download-icon {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }

    .downloads-login-required {
        padding: 30px 15px;
    }

    .downloads-login-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 15px;
    }

    .downloads-login-title {
        font-size: 18px;
    }

    .downloads-login-message {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .downloads-login-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .downloads-container {
        padding: 12px;
        margin: 0 -5px;
        border: 1px solid rgba(255, 140, 105, 0.4);
        box-shadow: 0 0 1px rgba(255, 140, 105, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .download-icon {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
}