
.has-cursor-pointer {
    cursor: pointer;
}

.message-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    z-index: 9999;
}

.notification-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
}

.notification-item.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-item.hide {
    opacity: 0;
    transform: translateX(100%);
}


.notification-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-close {
    margin-left: 12px;
    cursor: pointer;
    flex-shrink: 0;
}


.modal-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.modal-image.active {
    opacity: 1;
    visibility: visible;
}


.modal-image .content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 图片样式 */
.modal-image .content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}


.modal-image.active .content {
    transform: translateY(0);
    opacity: 1;
}


.modal-image .close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}