/**
 * VBBK Toast Notifications
 * Premium Design & Animations
 */

.vbbk-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    width: 100%;
    max-width: 400px;
}

.vbbk-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vbbk-toast.show {
    transform: translateX(0);
}

/* Status variants */
.vbbk-toast.success { border-left: 5px solid var(--primary-gold); }
.vbbk-toast.info { border-left: 5px solid var(--brand-navy); }
.vbbk-toast.error { border-left: 5px solid #e74c3c; }

.vbbk-toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.success .vbbk-toast-icon { color: var(--primary-gold); }
.info .vbbk-toast-icon { color: var(--brand-navy); }
.error .vbbk-toast-icon { color: #e74c3c; }

.vbbk-toast-content {
    flex: 1;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.vbbk-toast-content a {
    color: var(--brand-navy);
    text-decoration: underline;
    font-weight: 700;
    margin-left: 5px;
}

.vbbk-toast-close {
    cursor: pointer;
    font-size: 18px;
    color: #ccc;
    transition: color 0.3s ease;
}

.vbbk-toast-close:hover {
    color: #666;
}

/* Progress bar */
.vbbk-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.05);
}

.vbbk-toast-progress-bar {
    height: 100%;
    width: 0;
    background: currentColor;
    opacity: 0.3;
}

/* Hide default WooCommerce messages */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    display: none !important;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .vbbk-toast-container {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
