/* Styles pour l'interface de cache hors-ligne */

#SWbuttons {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#SWinstallButton, #SWrestartButton {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

#SWinstallButton:hover, #SWrestartButton:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

#SWinstallButton:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#SWrestartButton {
    background: #28a745;
}

#SWrestartButton:hover {
    background: #1e7e34;
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

#SWinstalling {
    margin-top: 15px;
}

.progress-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #495057;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

#SWready {
    color: #28a745;
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    #SWbuttons {
        margin: 15px;
        padding: 15px;
    }
    
    #SWinstallButton, #SWrestartButton {
        width: 100%;
        margin-bottom: 10px;
    }
}
