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

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

.notification-container {
    align-items: flex-start;
    border-radius: 12px;
    border: 1px solid #d5d7da;
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03),
    0px 2px 2px -1px rgba(10, 13, 18, 0.04);
    background-color: #fff;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    min-width: 300px;
    max-width: 500px;
    padding: 15px;
    gap: 15px;
    overflow: hidden;
    justify-content: flex-start;
    z-index: 10000;
    animation: fadeInSlide 0.5s ease forwards;
}

.notification-hide {
    animation: fadeOut 0.5s ease forwards;
}

.close-notification-button {
    border-radius: 8px;
    position: absolute;
    z-index: 0;
    display: flex;
    min-height: 36px;
    padding: 8px;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    right: 0px;
    top: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.close-notification-button:focus {
    outline: 2px solid #4a90e2;
}

.close-notification-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 12px;
    align-self: stretch;
    margin: auto;
}

.notification-content {
    z-index: 0;
    display: flex;
    min-width: 240px;
    align-items: flex-start;
    gap: 16px;
    font-family:
            Montserrat,
            -apple-system,
            Roboto,
            Helvetica,
            sans-serif;
    justify-content: flex-start;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 16px;
}

.status-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.message-container {
    display: flex;
    min-width: 240px;
    padding-right: 32px;
    padding-top: 2px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
}

.text-content {
    width: 100%;
}

.notification-title {
    color: #181d27;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

.notification-description {
    color: #535862;
    font-size: 12px;
    font-weight: 400;
    line-height: 2;
    margin-top: 4px;
    margin-bottom: 0;
}

.action-buttons {
    align-self: flex-start;
    display: flex;
    margin-top: 12px;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #535862;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
    justify-content: flex-start;
}

.dismiss-button {
    align-self: stretch;
    gap: 6px;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 0;
    color: #535862;
    font-size: 14px;
    font-weight: 600;
    font-family:
            Montserrat,
            -apple-system,
            Roboto,
            Helvetica,
            sans-serif;
    cursor: pointer;
}

.dismiss-button:hover {
    color: #181d27;
}

.dismiss-button:focus {
    outline: 2px solid #4a90e2;
    border-radius: 4px;
}

.secondary-action {
    display: flex;
    min-height: 20px;
    gap: 6px;
}
