/* Download Manager Styles */

/* Download List */
.svs-download-list {
    display: flex;
    flex-direction: column;
}

.svs-download-list.svs-layout-grid {
    display: grid;
}

.svs-download-list.svs-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.svs-download-list.svs-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.svs-download-list.svs-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.svs-download-list.svs-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Download Item */
.svs-download-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.svs-download-list.hover-lift .svs-download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.svs-download-list.hover-shadow .svs-download-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.svs-download-list.hover-scale .svs-download-item:hover {
    transform: scale(1.02);
}

/* File Icon */
.svs-file-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.svs-download-item:hover .svs-file-icon {
    transform: scale(1.1);
}

/* File Info */
.svs-file-info {
    flex: 1;
    min-width: 0;
}

.svs-file-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.svs-file-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.svs-file-size {
    font-size: 12px;
    color: #999;
}

/* Download Action */
.svs-download-action {
    flex-shrink: 0;
    margin-left: 15px;
}

.svs-download-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.svs-download-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.svs-download-btn i {
    transition: transform 0.3s ease;
}

.svs-download-btn:hover i {
    transform: translateY(2px);
}

/* Progress Container */
.svs-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e0e0e0;
}

.svs-progress-bar {
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.svs-progress-bar.animating {
    animation: progressAnimation 2s ease-in-out;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

.svs-progress-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

/* Subscription Modal */
.svs-subscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.svs-modal-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svs-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
}

.svs-modal-close:hover {
    color: #333;
}

.svs-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.svs-modal-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* Subscription Form */
.svs-form-field {
    margin-bottom: 15px;
}

.svs-form-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1 px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.svs-form-field input:focus {
    outline: none;
    border-color: #4CAF50;
}

.svs-submit-btn {
    width: 100%;
    padding: 14px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.svs-submit-btn:hover {
    background: #45a049;
}

.svs-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Notification */
.svs-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: #fff;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
}

.svs-notification.slideInRight {
    animation: slideInRight 0.3s ease;
}

.svs-notification.slideOutRight {
    animation: slideOutRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .svs-download-list.svs-cols-tablet-1 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .svs-download-list.svs-cols-tablet-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .svs-download-list.svs-cols-tablet-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .svs-download-list.svs-cols-mobile-1 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .svs-download-list.svs-cols-mobile-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .svs-download-item {
        flex-direction: column;
        text-align: center;
    }

    .svs-file-icon {
        margin: 0 0 15px 0;
    }

    .svs-file-info {
        margin-bottom: 15px;
    }

    .svs-download-action {
        margin-left: 0;
        width: 100%;
    }

    .svs-download-btn {
        width: 100%;
        justify-content: center;
    }

    .svs-modal-content {
        padding: 30px 20px;
    }
}

/* Elementor Editor */
.elementor-editor-active .svs-subscription-modal {
    pointer-events: none;
}

.elementor-editor-active .svs-download-btn {
    pointer-events: none;
}