/* ================================================
   提交成功页样式 - tanchuang.css
   原版弹窗样式改为页面内嵌卡片，保留原类名和视觉风格
   对应模板：template/pc/default/home/tanchuang.html
   ================================================ */

/* 页面容器 - 垂直水平居中 */
.tc-page-wrap {
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}
.tc-page-wrap .page-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 成功图标容器 */
.modal-icon-wrap {
    text-align: center;
    margin-bottom: 24px;
}
.success-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 200, 180, 0.15);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.success-icon::after {
    content: "✓";
    color: #00C8B4;
    font-size: 26px;
    font-weight: bold;
}

/* 卡片主体 - 复用原版 modal-content 样式 */
.modal-content {
    border: 1px solid hsl(var(--border));
    background-color: #ffffff;
    border-radius: 8px;
    width: 440px;
    max-width: 100%;
    padding: 36px 28px 28px;
    box-sizing: border-box;
    position: relative;
    color: #222222;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 标题与副标题 */
.modal-title {
    font-size: 24px;
    font-weight: 600;
    text-align: left;
    margin: 0 0 12px;
    color: #222222;
}
.modal-subtitle {
    font-size: 16px;
    color: #222222;
    text-align: left;
    margin: 0 0 32px;
}

/* 步骤项 */
.modal-steps {
    margin-bottom: 32px;
}
.step-item {
    border: 1px solid hsl(var(--border));
    background-color: #ffffff;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.step-item:last-child {
    margin-bottom: 0;
}
.step-icon {
    color: #00C8B4;
    font-size: 18px;
    margin-top: 2px;
}
.step-content h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
}
.step-content p {
    margin: 0;
    font-size: 13px;
    color: #222222;
    line-height: 1.5;
}

/* 按钮组 */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.modal-btn-primary,
.modal-btn-secondary {
    flex: 1;
    display: inline-block;
    text-align: center;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, opacity 0.2s;
    border: none;
}
.modal-btn-primary {border: 1px solid black;}
.modal-btn-primary:hover {
    opacity: 0.88;
    color: #222222;
    text-decoration: none;
}
.modal-btn-secondary {
    background-color: #333740;
    color: #FFF;
}
.modal-btn-secondary:hover {
    background-color: #4d90fe;
    color: #ffffff;
    border: 1px solid #000000;
    text-decoration: none;
}

/* 原版单按钮样式保留（如只用一个按钮） */
.modal-btn {
    width: 100%;
    background-color: #333740;
    color: #222222FFF;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.modal-btn:hover {
    background-color: #444852;
    color: #222222;
    text-decoration: none;
}

/* 自动跳转提示 */
.modal-tip {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin: 0;
    min-height: 1.2em;
}

/* 右下角 Toast 提示 */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #1A1D24;
    color: #222222;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 320px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.toast-icon {
    color: #00C8B4;
    font-size: 16px;
    margin-top: 2px;
}

/* 响应式 */
@media (max-width: 540px) {
    .modal-content {
        padding: 28px 20px 20px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-actions {
        flex-direction: column;
    }
}
