/* 模态框基础样式 */
.custom-modal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* 确认弹窗样式 */
.confirm-modal .modal-header {
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
    color: #4f99ee;
    border: none;
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.confirm-modal .modal-title {
    font-weight: 500;
    margin: 0;
}

.confirm-modal .modal-body {
    padding: 24px;
    background: #ffffff;
    text-align: center;
}

.confirm-modal .modal-body p {
    color: #495057;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.confirm-modal .modal-footer {
    border: none;
    padding: 16px 24px 24px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    justify-content: center;
    gap: 12px;
}

.confirm-modal .btn-cancel {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    min-width: 80px;
}

.confirm-modal .btn-confirm {
    background: linear-gradient(135deg, #4f99ee, #4f99ee);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

/* 工作流ID显示样式 */
.workflow-id-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4f99ee;
}

.workflow-id-icon {
    margin-right: 8px;
    font-size: 16px;
}

.workflow-id-code {
    background: #ffffff;
    color: #4f99ee;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid #e3f2fd;
}

/* 成功弹窗样式 */
.success-modal .modal-header {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    color: #279d27;
    border: none;
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.success-modal .modal-title {
    font-weight: 500;
    margin: 0;
}

.success-modal .modal-body {
    padding: 24px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    text-align: center;
}

.success-modal .modal-body p:first-child {
    color: #495057;
    margin-bottom: 16px;
    font-size: 14px;
}

.success-modal .modal-body p:last-child {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
}

.success-modal .countdown {
    color: #28a745;
    font-weight: 500;
}

/* 失败弹窗样式 */
.error-modal .modal-header {
    background: linear-gradient(135deg, #f05c5c, #e2394d);
    color: rgb(239,8,32);
    border: none;
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.error-modal .modal-title {
    font-weight: 500;
    margin: 0;
}

.error-modal .close {
    color: rgb(190,24,43);
    opacity: 0.7;
    font-size: 24px;
    font-weight: 300;
    margin: -4px 0 0 0;
    padding: 0;
    background: none;
    border: none;
}

.error-modal .modal-body {
    padding: 24px;
    background: #ffffff;
    text-align: center;
}

.error-modal .modal-body p {
    color: #495057;
    margin-bottom: 0;
    font-size: 14px;
}

.error-modal .modal-footer {
    border: none;
    padding: 16px 24px 24px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.error-modal .modal-footer .btn {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}