.error-notification {
    position: fixed;
    top: 100px;
    right: 24px;
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    display: none;
    max-width: 400px;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
}

.error-notification.show {
    display: block;
}

.error-notification .error-title {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1.1em;
    letter-spacing: -0.01em;
}

.error-notification .error-description {
    font-size: 0.95em;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.error-notification .close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.error-notification .close-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.error-notification.hiding {
    animation: slideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
