/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7f9;
    padding: 20px;
    color: #333;
    line-height: 1.5;
}

/* 弹出框样式 */
.modal-dialog-notice {
    background: white;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 24px), calc(-50% + 24px));
    width: 500px;
}

/* 组件容器 */
.risk-notification {
    padding: 20px;
    width: 100%;
    max-height: 930px;
    height: 80vh;
    overflow-y: auto;
}

/* 标题区域 */
.risk-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    margin: -20px -20px 20px -20px;
}

.risk-header h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

/* 内容区域 */
.risk-content {
    font-size: 14px;
    line-height: 1.5;
}

.risk-warning {
    background: #fff4f4;
    border-left: 4px solid #ff6b6b;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 0 6px 6px 0;
}

.risk-warning h3 {
    color: #ff6b6b;
    margin: 0 0 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.risk-warning h3::before {
    content: "⚠️";
    margin-right: 8px;
}

.risk-points {
    margin: 10px 0;
}

.risk-point {
    display: flex;
    margin-bottom: 10px;
}

.risk-point-icon {
    min-width: 24px;
    font-size: 16px;
    margin-right: 10px;
}

.risk-point-content {
    flex: 1;
    font-size: 13.5px;
}

.risk-service-info {
    background: #e8f4ff;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px dashed #4a90e2;
}

.risk-service-info h3 {
    color: #4a90e2;
    margin: 0 0 10px 0;
    font-size: 15px;
}

.risk-service-details {
    background: white;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 13.5px;
}

.risk-note {
    font-size: 13px;
    color: #777;
    margin: 15px 0;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #999;
}

.risk-confirmation {
    margin: 20px 0 10px 0;
}

.risk-checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.risk-checkbox-container input {
    margin-top: 3px;
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.risk-checkbox-container label {
    font-weight: 500;
    line-height: 1.4;
    font-size: 14px;
}

.risk-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.risk-btn:hover {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
}

.risk-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.risk-footer {
    text-align: center;
    padding: 15px 0 5px 0;
    color: #777;
    font-size: 12px;
}

/* 模态框背景 */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1040;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1050;
}