/* Advanced Notifications Styles */
.advanced-notification-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.advanced-notification {
    position: relative;
    pointer-events: auto;
    padding: 15px 40px 15px 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    max-width: 400px;
    min-width: 280px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.advanced-notification:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.notification-content {
    font-weight: 400;
}

.notification-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.notification-dismiss:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

/* Position variants */
.notification-position-top {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    margin: 0;
    border-radius: 0;
}

.notification-position-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    margin: 0;
    border-radius: 0;
}

.notification-position-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
}

.notification-position-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
}

.notification-position-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.notification-position-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.notification-position-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    max-width: 500px;
}

/* Animation classes */
.animation-fade {
    animation: fadeIn 0.5s ease;
}

.animation-slide {
    animation: slideIn 0.5s ease;
}

.animation-bounce {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animation-zoom {
    animation: zoomIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Exit animations */
.animation-fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive design */
@media (max-width: 768px) {
    .advanced-notification {
        max-width: 90%;
        margin: 5px auto;
    }
    
    .notification-position-top-left,
    .notification-position-top-right,
    .notification-position-bottom-left,
    .notification-position-bottom-right {
        left: 5%;
        right: 5%;
        top: auto;
        bottom: 20px;
    }
}