.sn-notification {
    position: fixed;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: none;
    z-index: 9999;
    animation: slideIn 0.5s ease-out;
}

/* Positions */
.sn-notification.top-right {
    top: 20px;
    right: 20px;
}

.sn-notification.top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.sn-notification.top-left {
    top: 20px;
    left: 20px;
}

.sn-notification.middle-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.sn-notification.middle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sn-notification.middle-left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.sn-notification.bottom-right {
    bottom: 20px;
    right: 20px;
}

.sn-notification.bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.sn-notification.bottom-left {
    bottom: 20px;
    left: 20px;
}

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

.sn-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sn-icon {
    font-size: 24px;
    color: #4CAF50;
}

.sn-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Add styles for rich text content */
.sn-message p {
    margin: 0 0 10px 0;
}

.sn-message p:last-child {
    margin-bottom: 0;
}

.sn-message a {
    color: #0073aa;
    text-decoration: none;
}

.sn-message a:hover {
    color: #00a0d2;
    text-decoration: underline;
}

.sn-message strong,
.sn-message b {
    font-weight: 600;
}

.sn-message em,
.sn-message i {
    font-style: italic;
}

.sn-message img.emoji {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin: 0 0.1em;
    vertical-align: -0.1em;
}

.sn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sn-close:hover {
    background-color: #f5f5f5;
    color: #666;
}

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

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