/* Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.aqxmo-toast {
    min-width: 300px;
    max-width: 450px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.aqxmo-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.aqxmo-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Progress bar */
.aqxmo-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.aqxmo-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    transition: transform linear;
}

/* Toast Types */
.aqxmo-toast-success .aqxmo-toast-icon { color: #28a745; }
.aqxmo-toast-success .aqxmo-toast-progress { background: #28a745; }

.aqxmo-toast-error .aqxmo-toast-icon { color: #dc3545; }
.aqxmo-toast-error .aqxmo-toast-progress { background: #dc3545; }

.aqxmo-toast-warning .aqxmo-toast-icon { color: #ffc107; }
.aqxmo-toast-warning .aqxmo-toast-progress { background: #ffc107; }

.aqxmo-toast-info .aqxmo-toast-icon { color: #17a2b8; }
.aqxmo-toast-info .aqxmo-toast-progress { background: #17a2b8; }

.aqxmo-toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.aqxmo-toast-content {
    flex-grow: 1;
}

.aqxmo-toast-message {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.aqxmo-toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.aqxmo-toast-close:hover {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }
    
    .aqxmo-toast {
        min-width: auto;
        width: 100%;
        transform: translateY(120%);
    }
    
    .aqxmo-toast.show {
        transform: translateY(0);
    }
    
    .aqxmo-toast.hide {
        transform: translateY(120%);
    }
}
