@import url("vars.css");

.notification-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    pointer-events: none;
    z-index: 9999;
}

.notification {
    width: 100%;
    max-width: 500px;
    margin-top: 10px;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
}

.notification-message {
    font-size: 16px;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.notification-close svg {
    width: 16px;
    height: 16px;
}

/* Notification Types */
.notification.info {
    background-color: var(--primary);
    color: white;
}

.notification.success {
    background-color: var(--secondary);
    color: white;
}

.notification.error {
    background-color: var(--danger);
    color: white;
}
