/* Toast 通知容器 */
.toast-notify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* 单个通知卡片 */
.toast-notify {
    pointer-events: auto;
    min-width: 280px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s ease;
    font-family: inherit;
}

.toast-notify.show {
    transform: translateX(0);
    opacity: 1;
}

/* 错误类型（红色） */
.toast-notify.error {
    border-left-color: #f44336;
}
.toast-notify.error .toast-icon {
    color: #f44336;
}

/* 成功类型（绿色） */
.toast-notify.success {
    border-left-color: #4caf50;
}
.toast-notify.success .toast-icon {
    color: #4caf50;
}

/* 图标区域 */
.toast-icon {
    flex-shrink: 0;
    font-size: 22px;
    width: 24px;
    text-align: center;
    line-height: 1;
}

/* 文字内容 */
.toast-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #1e293b;
}
.toast-content strong {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* 关闭按钮 */
.toast-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #94a3b8;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
}
.toast-close:hover {
    color: #475569;
}

/* 暗色主题自动适配 */
@media (prefers-color-scheme: dark) {
    .toast-notify {
        background-color: rgba(30, 41, 59, 0.96);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    .toast-content {
        color: #e2e8f0;
    }
    .toast-close {
        color: #64748b;
    }
    .toast-close:hover {
        color: #cbd5e1;
    }
}

/* 用户账号首字母圆形 */
.avatar-circle{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #A8E6BF;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}