/* ===========================================
   SETTINGS - SWIPE TO DELETE ARCHIVIO
   Slide to unlock style iOS
   =========================================== */

.swipe-delete-container {
    position: relative;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid var(--danger);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
    user-select: none;
    -webkit-user-select: none;
}

.swipe-delete-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.swipe-delete-icon {
    font-size: 24px;
}

.swipe-delete-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--danger);
    letter-spacing: 0.5px;
}

.swipe-delete-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 80px;
    height: 52px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    touch-action: none;
}

.swipe-delete-slider:active {
    cursor: grabbing;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.swipe-delete-slider-icon {
    font-size: 20px;
    color: var(--danger);
    font-weight: 700;
}

/* Countdown Container */
.delete-countdown {
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--warning);
    border-radius: 12px;
    text-align: center;
    animation: pulseWarning 1s ease-in-out infinite;
}

@keyframes pulseWarning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.countdown-icon {
    font-size: 24px;
}

.countdown-text {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
}

.countdown-timer {
    font-size: 48px;
    font-weight: 700;
    color: var(--danger);
    margin: 16px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.delete-countdown .btn-secondary {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 380px) {
    .swipe-delete-slider {
        width: 70px;
    }
    
    .swipe-delete-text {
        font-size: 14px;
    }
    
    .countdown-timer {
        font-size: 40px;
    }
}
