/**
 * Slot Lock Notifications Styles
 */

/* Timer w koszyku */
.flexibee-lock-timer {
    display: inline-block;
    padding: 2px 8px;
    background: #10b981;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.flexibee-lock-timer.expiring {
    background: #f59e0b;
    animation: pulse 1s ease-in-out infinite;
}

.flexibee-lock-timer.expired {
    background: #ef4444;
}

/* Animacja pulsowania dla wygasających */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Status lockow w koszyku */
.flexibee-lock-invalid {
    color: #ef4444 !important;
    font-weight: bold;
}

.flexibee-lock-expired {
    color: #f59e0b !important;
    font-weight: bold;
}

/* Customizacja SweetAlert2 dla ciemnego motywu */
body.dark-mode .swal2-popup {
    background: #1f2937 !important;
}

body.dark-mode .swal2-title,
body.dark-mode .swal2-html-container {
    color: #f3f4f6 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .swal2-popup.swal2-toast {
        font-size: 0.875rem;
    }
    
    .flexibee-lock-timer {
        font-size: 0.85em;
    }
}

/* Dodatkowe style dla WooCommerce cart */
.woocommerce-cart .flexibee-lock-timer {
    margin-left: 8px;
}

.woocommerce-cart .flexibee-lock-invalid,
.woocommerce-cart .flexibee-lock-expired {
    display: block;
    margin-top: 4px;
}

/* Loading state */
.flexibee-lock-checking {
    opacity: 0.6;
    pointer-events: none;
}

/* Success badge */
.flexibee-slot-reserved-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.flexibee-slot-reserved-badge::before {
    content: "🔒";
}

