/*--------------------------------------------------------------
>>> SMART INSTALLER UI STYLES
----------------------------------------------------------------
Styles for installer download options and UI
--------------------------------------------------------------*/

/* Download Progress Modal */
.download-progress-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    min-width: 400px;
    display: none;
}

.download-progress-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.modal-overlay.active {
    display: block;
}

.progress-header {
    text-align: center;
    margin-bottom: 20px;
}

.progress-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.progress-icon.downloading {
    color: #1abc9c;
    animation: pulse 1.5s ease-in-out infinite;
}

.progress-icon.complete {
    color: #27ae60;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.progress-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.progress-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin: 5px 0 0 0;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1abc9c 0%, #16a085 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-steps {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.progress-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #7f8c8d;
}

.progress-steps li.active {
    color: #1abc9c;
    font-weight: 600;
}

.progress-steps li.complete {
    color: #27ae60;
}

.progress-steps li i {
    width: 20px;
}

/* Installer Type Badges */
.installer-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.installer-type-badge.smart {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #fff;
}

.installer-type-badge.standard {
    background: #ecf0f1;
    color: #7f8c8d;
}

.installer-type-badge.portable {
    background: #e3f2fd;
    color: #1976d2;
}

/* OS Compatibility Icons */
.os-compatibility {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
}

.os-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #f8f9fa;
    border: 2px solid #ecf0f1;
    transition: all 0.3s ease;
}

.os-icon.compatible {
    background: #d4edda;
    border-color: #27ae60;
    color: #27ae60;
}

.os-icon:hover {
    transform: scale(1.1);
}

/* Installation Steps */
.installation-steps {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.installation-steps h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-item {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid #1abc9c;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 14px;
}

.step-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.5;
}

/* Download Stats */
.download-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1abc9c;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
}

/* Pre-Activated Badge */
.pre-activated-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.pre-activated-badge i {
    font-size: 16px;
}

/* Quick Download Button */
.quick-download-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 188, 156, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.quick-download-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(26, 188, 156, 0.5);
}

.quick-download-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .download-progress-modal {
        min-width: 90%;
        max-width: 90%;
    }

    .download-stats {
        flex-direction: column;
        gap: 15px;
    }

    .quick-download-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}