@import '_content/DeveloperAssistant.WebComponents/DeveloperAssistant.WebComponents.7qh886710g.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a2jrqnejxw],
.components-reconnect-repeated-attempt-visible[b-a2jrqnejxw],
.components-reconnect-failed-visible[b-a2jrqnejxw],
.components-pause-visible[b-a2jrqnejxw],
.components-resume-failed-visible[b-a2jrqnejxw],
.components-rejoining-animation[b-a2jrqnejxw] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-retrying[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-failed[b-a2jrqnejxw],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a2jrqnejxw] {
    display: block;
}

/* 右侧通知样式 - 类似 Element UI */
.notification-container[b-a2jrqnejxw] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483647;
    width: 320px;
    max-width: calc(100vw - 40px);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.notification-container.show[b-a2jrqnejxw] {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.notification-content[b-a2jrqnejxw] {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 4px rgba(0, 0, 0, 0.04);
    display: flex;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.notification-content:hover[b-a2jrqnejxw] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 6px rgba(0, 0, 0, 0.06);
}

.notification-close[b-a2jrqnejxw] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #909399;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.notification-close:hover[b-a2jrqnejxw] {
    background-color: #f5f7fa;
    color: #606266;
    opacity: 1;
    transform: rotate(90deg);
}

.notification-close:active[b-a2jrqnejxw] {
    transform: rotate(90deg) scale(0.9);
}

.notification-icon[b-a2jrqnejxw] {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

/* 为不同状态添加图标背景 */
#components-reconnect-modal.components-reconnect-show .notification-icon[b-a2jrqnejxw] {
    background-color: rgba(144, 147, 153, 0.06);
}

#components-reconnect-modal.components-reconnect-retrying .notification-icon[b-a2jrqnejxw] {
    background-color: rgba(230, 162, 60, 0.06);
}

#components-reconnect-modal.components-reconnect-failed .notification-icon[b-a2jrqnejxw] {
    background-color: rgba(245, 108, 108, 0.06);
}

#components-reconnect-modal.components-reconnect-paused .notification-icon[b-a2jrqnejxw] {
    background-color: rgba(64, 158, 255, 0.06);
}

#components-reconnect-modal.components-reconnect-resume-failed .notification-icon[b-a2jrqnejxw] {
    background-color: rgba(245, 108, 108, 0.06);
}

.notification-body[b-a2jrqnejxw] {
    flex: 1;
    padding: 16px 30px 16px 0;
    min-width: 0;
}

.notification-body h3[b-a2jrqnejxw] {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    line-height: 1.4;
    transition: color 0.3s;
}

.notification-body p[b-a2jrqnejxw] {
    margin: 0;
    font-size: 14px;
    color: #606266;
    line-height: 1.5;
    word-wrap: break-word;
}

.notification-actions[b-a2jrqnejxw] {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 倒计时样式优化 */
#components-seconds-to-next-attempt[b-a2jrqnejxw] {
    font-weight: 600;
    color: #f56c6c;
    font-size: 16px;
    padding: 0 2px;
    transition: color 0.3s;
    animation: pulse-b-a2jrqnejxw 1s infinite;
}

@keyframes pulse-b-a2jrqnejxw {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* 通知动画 */
@keyframes notificationSlideIn-b-a2jrqnejxw {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notificationSlideOut-b-a2jrqnejxw {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* 按钮样式 - 重新设计，更融入通知 */
.notification-actions[b-a2jrqnejxw] {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.notification-actions button[b-a2jrqnejxw] {
    height: 30px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 15px;
    border: none;
    background-color: rgba(64, 158, 255, 0.1);
    color: #409eff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.notification-actions button:hover[b-a2jrqnejxw] {
    background-color: rgba(64, 158, 255, 0.2);
    color: #3a8ee6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(64, 158, 255, 0.2);
}

.notification-actions button:active[b-a2jrqnejxw] {
    background-color: rgba(64, 158, 255, 0.3);
    color: #3178c6;
    transform: translateY(0);
}

.notification-actions button:focus[b-a2jrqnejxw] {
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.3);
}

/* 主要按钮样式 - 更柔和的设计 */
.notification-actions button#components-reconnect-button[b-a2jrqnejxw],
.notification-actions button#components-resume-button[b-a2jrqnejxw] {
    background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(64, 158, 255, 0.3);
}

.notification-actions button#components-reconnect-button:hover[b-a2jrqnejxw],
.notification-actions button#components-resume-button:hover[b-a2jrqnejxw] {
    background: linear-gradient(135deg, #66b1ff 0%, #8cc5ff 100%);
    box-shadow: 0 3px 10px rgba(64, 158, 255, 0.4);
    transform: translateY(-1px);
}

.notification-actions button#components-reconnect-button:active[b-a2jrqnejxw],
.notification-actions button#components-resume-button:active[b-a2jrqnejxw] {
    background: linear-gradient(135deg, #3a8ee6 0%, #409eff 100%);
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(64, 158, 255, 0.3);
}

.notification-actions button#components-reconnect-button:focus[b-a2jrqnejxw],
.notification-actions button#components-resume-button:focus[b-a2jrqnejxw] {
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.4);
}

/* 加载动画 - 优化版本 */
.components-rejoining-animation[b-a2jrqnejxw] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.components-rejoining-animation div[b-a2jrqnejxw] {
    width: 10px;
    height: 10px;
    background-color: #409eff;
    border-radius: 50%;
    animation: notification-loading-b-a2jrqnejxw 1.4s infinite ease-in-out both;
}

.components-rejoining-animation div:nth-child(1)[b-a2jrqnejxw] {
    animation-delay: -0.32s;
}

.components-rejoining-animation div:nth-child(2)[b-a2jrqnejxw] {
    animation-delay: -0.16s;
}

@keyframes notification-loading-b-a2jrqnejxw {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
        background-color: #409eff;
    }
}

/* 倒计时样式 */
#components-seconds-to-next-attempt[b-a2jrqnejxw] {
    font-weight: 600;
    color: #f56c6c;
    font-size: 16px;
    padding: 0 2px;
}

/* 状态颜色变化 - Element UI 风格 */
/* 首次尝试 - 信息状态 */
#components-reconnect-modal.components-reconnect-show[b-a2jrqnejxw] {
    border-left: 4px solid #909399;
    border-color: #ebeef5;
}

#components-reconnect-modal.components-reconnect-show .notification-body h3[b-a2jrqnejxw] {
    color: #909399;
}

/* 重试状态 - 警告状态 */
#components-reconnect-modal.components-reconnect-retrying[b-a2jrqnejxw] {
    border-left: 4px solid #e6a23c;
    border-color: #fdf6ec;
}

#components-reconnect-modal.components-reconnect-retrying .notification-body h3[b-a2jrqnejxw] {
    color: #e6a23c;
}

/* 失败状态 - 错误状态 */
#components-reconnect-modal.components-reconnect-failed[b-a2jrqnejxw] {
    border-left: 4px solid #f56c6c;
    border-color: #fef0f0;
}

#components-reconnect-modal.components-reconnect-failed .notification-body h3[b-a2jrqnejxw] {
    color: #f56c6c;
}

/* 暂停状态 - 主要状态 */
#components-reconnect-modal.components-reconnect-paused[b-a2jrqnejxw] {
    border-left: 4px solid #409eff;
    border-color: #ecf5ff;
}

#components-reconnect-modal.components-reconnect-paused .notification-body h3[b-a2jrqnejxw] {
    color: #409eff;
}

/* 恢复失败状态 - 错误状态 */
#components-reconnect-modal.components-reconnect-resume-failed[b-a2jrqnejxw] {
    border-left: 4px solid #f56c6c;
    border-color: #fef0f0;
}

#components-reconnect-modal.components-reconnect-resume-failed .notification-body h3[b-a2jrqnejxw] {
    color: #f56c6c;
}
