/* Styles pour OS Download Detector */

.os-download-wrapper {
    margin: 20px 0;
}

.os-download-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.os-download-button:hover {
    background-color: #005a87;
    color: #ffffff !important;
}

.os-download-button .os-detected {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: normal;
    margin-left: 5px;
}

/* Mode "show_all" */
.os-download-all {
    text-align: left;
}

.os-download-button.os-primary {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.os-other-downloads {
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.os-other-downloads summary {
    cursor: pointer;
    font-weight: 600;
    padding: 5px;
    user-select: none;
}

.os-other-downloads summary:hover {
    color: #0073aa;
}

.os-download-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
}

.os-download-list li {
    margin: 8px 0;
}

.os-download-list a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.os-download-list a:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Notice pour OS non disponible */
.os-download-notice {
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.os-download-unavailable {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.os-download-unavailable p {
    margin: 10px 0;
}

.os-download-unavailable strong {
    color: #856404;
}

/* Liste inline pour les OS disponibles */
.os-download-list-inline {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.os-download-list-inline li {
    margin: 0;
}

.os-download-list-inline a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.os-download-list-inline a:hover {
    background-color: #005a87;
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .os-download-button {
        display: block;
        text-align: center;
    }

    .os-download-list-inline {
        flex-direction: column;
    }

    .os-download-list-inline a {
        display: block;
        text-align: center;
    }
}
