/* 通知系统样式 */
.vjsp-notification-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 350px; /* 默认宽度，更宽敞 */
    max-width: calc(100% - 20px); /* 响应式：确保在小屏幕上两边总有10px的边距 */
}

/* 容器位置 - 统一边距为10px */
.vjsp-notification-container-top-right {
    top: 10px;
    right: 10px;
}

.vjsp-notification-container-top-left {
    top: 10px;
    left: 10px;
}

.vjsp-notification-container-bottom-right {
    bottom: 10px;
    right: 10px;
}

.vjsp-notification-container-bottom-left {
    bottom: 10px;
    left: 10px;
}

/* 通知样式 */
.vjsp-notification {
    margin-bottom: 10px;
    background: rgba(43, 51, 63, 0.9); /* Darker, semi-transparent background */
    border-radius: 10px; /* Slightly more rounded corners */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* Stronger, modern shadow */
    overflow: hidden;
    pointer-events: auto;
    max-width: 100%;
    transform: translateY(20px); /* Smaller initial translation for smoother pop-up */
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out; /* Slightly longer, smoother transition */
}

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

/* 通知类型样式 */
.vjsp-notification-info {
    border-left: 4px solid #2196F3;
}

.vjsp-notification-success {
    border-left: 4px solid #4CAF50;
}

.vjsp-notification-warning {
    border-left: 4px solid #FF9800;
}

.vjsp-notification-error {
    border-left: 4px solid #F44336;
}

/* 通知头部 */
.vjsp-notification-header {
    padding: 10px 15px; /* Slightly adjusted padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.1); /* Darker header background */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Lighter border */
}

.vjsp-notification-title {
    font-weight: 600; /* Slightly bolder */
    font-size: 15px; /* Slightly larger */
    color: #eee; /* Lighter text for dark background */
}

.vjsp-notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #bbb; /* Lighter close icon */
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s; /* Add color transition */
}

.vjsp-notification-close:hover {
    background-color: rgba(255,255,255,0.1); /* Lighter hover background */
    color: #fff; /* White hover color */
}

/* 通知内容 */
.vjsp-notification-content {
    padding: 12px 15px; /* Adjusted padding for single line */
    font-size: 14px;
    line-height: 1.4; /* Slightly adjusted line height */
    color: #ccc; /* Lighter text for dark background */
    white-space: nowrap; /* Force content to a single line */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add ellipsis for overflowed text */
}

/* 移动端响应式 - 已通过修改基础样式实现，故移除此区块 */ 